<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/mysql, branch dev</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>removed changes for mysql_select_db (optional parameter)</title>
<updated>2002-07-21T21:36:10+00:00</updated>
<author>
<name>Georg Richter</name>
<email>georg@php.net</email>
</author>
<published>2002-07-21T21:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=cbcdae700244aa8048890844a7649d4408484f96'/>
<id>cbcdae700244aa8048890844a7649d4408484f96</id>
<content type='text'>
Why:
1) Its not the common way to add additionally functionality for functions or
features which are already implemented in SQL. Therefore also a lot of
mysql functions are marked as deprecated (and will be removed in near future)

2) The implemented workaround works only when mysql_select_db was called
before (fetching the databasename from mysql-&gt;conn.db). It returns invalid
or inconsistent results e.g.:

- when "USE databasename" via mysql_query was used
- when database was dropped or grant privileges had changed.

In conjunction with persistent connection, there are also some inconsistencies,
cause mysql_select_db returns the databasename from an old connection.

To determine the database name just use the SQL command "SELECT DATABASE()"

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Why:
1) Its not the common way to add additionally functionality for functions or
features which are already implemented in SQL. Therefore also a lot of
mysql functions are marked as deprecated (and will be removed in near future)

2) The implemented workaround works only when mysql_select_db was called
before (fetching the databasename from mysql-&gt;conn.db). It returns invalid
or inconsistent results e.g.:

- when "USE databasename" via mysql_query was used
- when database was dropped or grant privileges had changed.

In conjunction with persistent connection, there are also some inconsistencies,
cause mysql_select_db returns the databasename from an old connection.

To determine the database name just use the SQL command "SELECT DATABASE()"

</pre>
</div>
</content>
</entry>
<entry>
<title>fixed bug in mysql_real_escape_string:</title>
<updated>2002-07-21T20:16:03+00:00</updated>
<author>
<name>Georg Richter</name>
<email>georg@php.net</email>
</author>
<published>2002-07-21T20:16:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=96276bf8a088686a146f73cbe52bda7b5df6c4b0'/>
<id>96276bf8a088686a146f73cbe52bda7b5df6c4b0</id>
<content type='text'>
allocated 1 more byte for '\0' terminating character

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
allocated 1 more byte for '\0' terminating character

</pre>
</div>
</content>
</entry>
<entry>
<title>fix protos</title>
<updated>2002-07-16T19:26:23+00:00</updated>
<author>
<name>foobar</name>
<email>sniper@php.net</email>
</author>
<published>2002-07-16T19:26:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=dcb0523894a4949b72931ba1ce5f7512b09f1906'/>
<id>dcb0523894a4949b72931ba1ce5f7512b09f1906</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added support for php.ini parameter "mysql.connect_timeout"</title>
<updated>2002-07-16T13:53:54+00:00</updated>
<author>
<name>Georg Richter</name>
<email>georg@php.net</email>
</author>
<published>2002-07-16T13:53:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=950a576f73eb8f658138da3f06f6ca874d1857fc'/>
<id>950a576f73eb8f658138da3f06f6ca874d1857fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mysql_create_db and mysql_drop_db disabled for NetWare</title>
<updated>2002-07-15T11:14:18+00:00</updated>
<author>
<name>Anantha Kesari H Y</name>
<email>hyanantha@php.net</email>
</author>
<published>2002-07-15T11:14:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=44bbec7acb512526ac23598d346ff9c1aa358248'/>
<id>44bbec7acb512526ac23598d346ff9c1aa358248</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Partially reverted the netware related commit.</title>
<updated>2002-07-12T23:25:30+00:00</updated>
<author>
<name>foobar</name>
<email>sniper@php.net</email>
</author>
<published>2002-07-12T23:25:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=5d001a9ab62f733ca6006fce01242f55a256e833'/>
<id>5d001a9ab62f733ca6006fce01242f55a256e833</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Beauify a bit..</title>
<updated>2002-07-12T22:59:35+00:00</updated>
<author>
<name>foobar</name>
<email>sniper@php.net</email>
</author>
<published>2002-07-12T22:59:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=20a735db2cf14ce1969de0d15204a611e270c4d0'/>
<id>20a735db2cf14ce1969de0d15204a611e270c4d0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some ws fixes. And removed the problems causing typedef for ushort.</title>
<updated>2002-07-12T22:57:19+00:00</updated>
<author>
<name>foobar</name>
<email>sniper@php.net</email>
</author>
<published>2002-07-12T22:57:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=21245bcbeb21df35441d3e1d8afc54f5d4fe8225'/>
<id>21245bcbeb21df35441d3e1d8afc54f5d4fe8225</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Added NetWare changes</title>
<updated>2002-07-12T12:55:56+00:00</updated>
<author>
<name>Anantha Kesari H Y</name>
<email>hyanantha@php.net</email>
</author>
<published>2002-07-12T12:55:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=2af885d46711c889a255ade578190a7a12755e59'/>
<id>2af885d46711c889a255ade578190a7a12755e59</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>1) New constants:</title>
<updated>2002-07-10T13:16:24+00:00</updated>
<author>
<name>Georg Richter</name>
<email>georg@php.net</email>
</author>
<published>2002-07-10T13:16:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=05007b0cbb4a86543965820f7f3d50039decf1a5'/>
<id>05007b0cbb4a86543965820f7f3d50039decf1a5</id>
<content type='text'>
MYSQL_CLIENT_SSL for ssl connections
MYSQL_CLIENT_COMPRESS for compressed protocol
MYSQL_CLIENT_IGNORE_SPACES for spaces after function names
MYSQL_CLIENT_INTERACTIVE for closing connections after timeout_interactive seconds

2) Optional parameter client_flags for mysql_connect and mysql_pconnect
For parameter desctiption see 1.
This also should fix bug #13589

3) New internal function _rollback_mysql_transactions, which is called via
PHP_RSHUTDOWN_FUNCTION
This fixes bug #12513

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MYSQL_CLIENT_SSL for ssl connections
MYSQL_CLIENT_COMPRESS for compressed protocol
MYSQL_CLIENT_IGNORE_SPACES for spaces after function names
MYSQL_CLIENT_INTERACTIVE for closing connections after timeout_interactive seconds

2) Optional parameter client_flags for mysql_connect and mysql_pconnect
For parameter desctiption see 1.
This also should fix bug #13589

3) New internal function _rollback_mysql_transactions, which is called via
PHP_RSHUTDOWN_FUNCTION
This fixes bug #12513

</pre>
</div>
</content>
</entry>
</feed>
