svn: /pecl/mysqlnd_ms/trunk/ mysqlnd_ms.c mysqlnd_ms_config_json.c mysqlnd_ms_config_json.h mysqlnd_ms_enum_n_def.h mysqlnd_ms_switch.c
| From: | Andrey Hristov | Date: | Mon, 23 May 2011 17:24:43 +0000 |
| Subject: | svn: /pecl/mysqlnd_ms/trunk/ mysqlnd_ms.c mysqlnd_ms_config_json.c mysqlnd_ms_config_json.h mysqlnd_ms_enum_n_def.h mysqlnd_ms_switch.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-15677@lists.php.net to get a copy of this message | ||
andrey Mon, 23 May 2011 17:24:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311357
Log:
further refactoring and usage of new JSON INI structures.
After this commit the tests will be broken due to change of the INI format.
Here is an example of a new INI file:
{
"myapp":
{ "lazy_connections" : 0,
"master":
[
{
"host":"127.0.0.1",
"port" : 3306,
"user" : "masteruser",
"password" : "masterpass",
"db" : "test"
}
],
"slave":
[
{
"host":"127.0.0.1",
"port" : 3307,
"user" : "slaveuser1",
"password" : "pass1",
"db" : "test"
},
{
"host":"localhost",
"socket" : "/tmp/mysql3307.sock",
"user" : "slaveuser2",
"password" : "pass2",
"db" : "test"
}
]
}
}
Changed paths:
U pecl/mysqlnd_ms/trunk/mysqlnd_ms.c
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_config_json.c
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_config_json.h
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_enum_n_def.h
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_switch.c
Attachment: [text/x-diff] svn-diffs-311357.txt
Attachment: [text/x-diff] svn-diffs-311357.txt