History log of /PHP-5.5/ext/mysqli/mysqli_api.c (Results 76 – 100 of 284)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# dd8e59da 26-Apr-2010 Kalle Sommer Nielsen

Removed safe_mode
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_

Removed safe_mode
* Removed ini options, safe_mode*
* Removed --enable-safe-mode --with-exec-dir configure options on Unix
* Updated extensions, SAPI's and core
* php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore

show more ...


# 45b68feb 21-Apr-2010 Felipe Pena

- Fix mem. leak


# 623a2572 21-Apr-2010 Felipe Pena

- Fix mem. leak


# dd9fc198 15-Apr-2010 Andrey Hristov

Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)


# c04f7526 15-Apr-2010 Andrey Hristov

Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)


# 8467978d 08-Apr-2010 Andrey Hristov

Fix for bug #51026 ssl not working


# 8338d488 08-Apr-2010 Andrey Hristov

Fix for bug #51026 ssl not working


# ccfd9cd7 12-Mar-2010 Andrey Hristov

allow persistency of PS


Revision tags: php-5.3.2, php-5.2.13, php-5.3.2RC3, php-5.3.2RC2, php-5.2.13RC2, php-5.2.13RC1
# 6407250e 25-Jan-2010 Andrey Hristov

Fix for bug#50772
mysqli constructor without parameters does not return a working mysqli object


# 36a037d2 14-Jan-2010 Andrey Hristov

Fix build of mysqli when libmysql is used, mysqlnd_portability.h
might not be available for some weird reasons. Added the macros
that we need, in that case

Code by Jess Portnoy


# 9ba1e816 03-Jan-2010 Sebastian Bergmann

sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php


# 01adfaee 23-Dec-2009 Andrey Hristov

Unify. The typedef-ed structs in mysqlnd are always capitalized.


Revision tags: php-5.3.2RC1, php-5.2.12, php-5.2.12RC4
# 2bdd3538 01-Dec-2009 Rasmus Lerdorf

Fix broken build.
This constant is not in older versions of MySQL.


Revision tags: php-5.2.12RC3, php-5.2.12RC2, php-5.3.1, php-5.3.1RC4, php-5.2.12RC1, php-5.3.1RC3
# 4a95aa39 03-Nov-2009 Ulf Wendel

Fix for bug #49965 . Let mysqli_options() try to cast option values to the appropriate type.


Revision tags: php-5.3.1RC2
# ab4670ee 15-Oct-2009 Ulf Wendel

Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.


Revision tags: oci8-1.4.0
# 3828ca15 25-Sep-2009 Andrey Hristov

Fix mysqli_stmt_attr_set in libmysql mode.
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and

Fix mysqli_stmt_attr_set in libmysql mode.
mysql_stmt_attr_set returns my_bool instead of int.
If it was int, then 0 is success and !0 is failure, but
for my_bool 0 (FALSE) is failure and !0 is success.

show more ...


# 9b44cbb4 25-Sep-2009 Andrey Hristov

Remove unused variable


# eea0660d 25-Sep-2009 Andrey Hristov

Fix error code checking for mysql_stmt_attr_set. There
is a test that checks this.


# dcb5c5b0 22-Sep-2009 Andrey Hristov

MFH: Fix handling of BIT fields in mysqli, when libmysql is used
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
the

MFH: Fix handling of BIT fields in mysqli, when libmysql is used
We need to use macros from mysqlnd to be able to read the
bit fields, as they are specially encoded. mysqlnd is always
there, 5.3+, so its macros can be used, even if mysqlnd is
not compiled as library of choice.

show more ...


# 96723972 18-Sep-2009 Andrey Hristov

MFH:Fix for bug#48909 Segmentation fault in mysqli_stmt_execute


Revision tags: php-5.2.11
# 617b4e9b 11-Sep-2009 Ulf Wendel

Fix for bug #49357 (MySQLi extension fails to recognize POINT (spatial) colums).

Do yourself a favour and use mysqlnd. mysqlnd has no isuses here.

If you insist on using the MySQL

Fix for bug #49357 (MySQLi extension fails to recognize POINT (spatial) colums).

Do yourself a favour and use mysqlnd. mysqlnd has no isuses here.

If you insist on using the MySQL Client Library (libmysql) I strongly recommend to use mysqli_stmt_store_result() when fetching geometry data using prepared statements. When streaming data, which is the default for prepared statements, ext/mysqli will have to make a guess on the size of the result buffer it needs. The guess is based on a length reported by the MySQL CLient Library (libmysql). The MySQL Client Library reports 4GB (!) for a POINT - a conservative and safe guess. Consequently, ext/mysqli will try to allocate 4GB of RAM. The true (maximum) size of the column is not available before buffering the result on the client using mysqli_stmt_store_result(). If you call mysqli_stmt_store_result(), the result buffers will not get bigger than needed. However, store_result()/buffering is usually not what you want when you ask for prepared statements.

show more ...


# 5dfd12dd 11-Sep-2009 Ulf Wendel

Stepping back to PHP 5.2.x and earlier logic of allocating even huge pieces of memory for large BLOB types to avoid data truncation. This fixes the test failure of 005.phpt when using MySQL Client

Stepping back to PHP 5.2.x and earlier logic of allocating even huge pieces of memory for large BLOB types to avoid data truncation. This fixes the test failure of 005.phpt when using MySQL Client
Library (libmysql). The test does pass with mysqlnd because mysqlnd does not have any issues here.

show more ...


# c4c11fd3 11-Sep-2009 Ulf Wendel

Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen

Fixing a crash which must have existed since PHP 5.0. At least the crash can be reproduced with PHP 5.0.6. The crash happens only when using the MySQL Client Library (libmysql) - it does not happen
when using mysqlnd.

show more ...


Revision tags: php-5.2.11RC3, php-5.3.1RC1, php-5.2.11RC2, php-5.2.11RC1
# b312b3af 04-Aug-2009 Jani Taskinen

- Revert bad fix for bug #49122 and only enable this when mysqlnd is used


# 7b411d7c 02-Aug-2009 Jani Taskinen

- Fixed bug #49122 (undefined reference to mysqlnd_stmt_next_result on compile with --with-mysqli and MySQL 6.0)


12345678910>>...12