History log of /php-src/ext/pdo_mysql/mysql_statement.c (Results 151 – 175 of 197)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
Revision tags: php-5.0.5RC2, php-5.0.5RC1, php-5.1.0RC1, BEFORE_UNICODE_MERGE, RELEASE_2_0_0, RELEASE_0_9
# 99d8090c 20-Jul-2005 Ilia Alshanetsky

Fixed memory corruption (wrong order of operations of stored prep. stmt).
Optimize the max length calculation process.

# 97e8c6f4 20-Jul-2005 Ilia Alshanetsky

Proper handling for databases that need to pre-calculate length of large
columns, which is not normally done for performance reasons.

# 9438584d 20-Jul-2005 Ilia Alshanetsky

Only set attribute if result set contains some columns.

# 1e1d2e2b 20-Jul-2005 Ilia Alshanetsky

clean up

# 8adbc92d 20-Jul-2005 Wez Furlong

this hack can and does segv; let's remove it.

Revision tags: php-5.1.0b3
# fc48f909 14-Jul-2005 Wez Furlong

gah!

# 0601249f 14-Jul-2005 Wez Furlong

it is not an error for a statement to return 0 rows.

Andrey: please run the test suite before each commit!
This broke beta 3 and was clearly visible as a result of running the tests.

it is not an error for a statement to return 0 rows.

Andrey: please run the test suite before each commit!
This broke beta 3 and was clearly visible as a result of running the tests.

Running further tests now.

show more ...

# 8899425e 12-Jul-2005 Andrey Hristov

strictly check the result of mysql_affected_rows()

Revision tags: php-4.4.0
# 31de8e90 10-Jul-2005 Andrey Hristov

stmt->column_count is set only if the result has been already bound, don't
rely on that and use the real count which is kept in st_mysql_stmt
#of course using internal values is bad idea but

stmt->column_count is set only if the result has been already bound, don't
rely on that and use the real count which is kept in st_mysql_stmt
#of course using internal values is bad idea but the comment already says
#that this should be fixed

show more ...

# 55ab9b75 10-Jul-2005 Andrey Hristov

ok, calculate max_length only in case of a blob (normal, medium, long).
in case of a varchar lets allocate 255 bytes and be quick without asking
libmysql to update max_length

# 2711d70d 10-Jul-2005 Andrey Hristov

if the result set is buffered ask libmysql to compute the lengths, so
later allocate buffer as big as the largest value of the column in the
result set (max_legth positive).

# 5602a5ba 10-Jul-2005 Wez Furlong

Get precise lengths from the server, as suggested by Andrey.

# eb4aff5a 09-Jul-2005 Ilia Alshanetsky

Added safety checks.

# 4c18dfc8 09-Jul-2005 Ilia Alshanetsky

Make cursor closer work with emulation as well.

# df60983b 09-Jul-2005 Ilia Alshanetsky

Added missing header check.

# c58e8785 09-Jul-2005 Ilia Alshanetsky

Implement cursor_closer for MySQL driver.

# ba66cac1 09-Jul-2005 Ilia Alshanetsky

Fixed memory leak

# c2f3636c 09-Jul-2005 Wez Furlong

Fix two bugs:

- execute() would not re-fetch meta data after nextRowset() had been called.

- buffered mode would only be enabled on the first execute on a statement handle.

# e7b930ea 07-Jul-2005 Ilia Alshanetsky

Make prepared statements obey buffering flag in MySQL.

# 307f6228 07-Jul-2005 Ilia Alshanetsky

Fixed memory leak.

# d7e5dfb2 03-Jul-2005 Wez Furlong

Enable native mysql 4.1.x prepared statement support
# the hardest part was installing 4.1.x on a gentoo box over a 56k modem

# 1bbab254 02-Jul-2005 Wez Furlong

Experimental support for queries returning multiple rowsets under mysql 5.0.
Patch from Guy Harrison (guy dot a dot harrison (at) gmail dot com)

Revision tags: php-4.4.0RC2
# 348c0cdd 24-Jun-2005 Ilia Alshanetsky

Added PDO_MYSQL_ATTR_USE_BUFFERED_QUERY parameter for pdo_mysql, to toggle
usage of buffered queries.

Revision tags: php-5.1.0b2, php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1
# fa0e534f 18-May-2005 Ilia Alshanetsky

Various compiler warning fixes.

# 569138e0 19-Apr-2005 Ilia Alshanetsky

removed unused var.

12345678