Andrey Hristov
081b001ca1
remove more unneeded includes
2011-03-22 12:54:02 +00:00
Andrey Hristov
9484248c0a
remove unneeded includes
2011-03-22 12:22:16 +00:00
Andrey Hristov
a5348bed31
use ifdef all-around in the revert
2011-02-25 13:11:49 +00:00
Andrey Hristov
2eb5b0fe4e
revert also the version_id
2011-02-25 12:52:46 +00:00
Andrey Hristov
d4a1f5ac06
revert to previous behavior
2011-02-25 12:52:21 +00:00
Andrey Hristov
113cd9dc0f
move from macros to functions, which can be overwritten, if needed
2011-02-25 12:25:36 +00:00
Andrey Hristov
7a1f54ff42
fix invalid memory read. Thank you, valgrind
2011-02-21 16:24:37 +00:00
Andrey Hristov
1bdc780d30
fixed a problem in mysqlnd. 0 was always as num_rows returned for
...
unbuffered sets (text protocol and PS).
2011-02-16 16:36:33 +00:00
Andrey Hristov
c9e94fe753
Fix more warnings about size_t
2011-02-01 19:30:22 +00:00
Andrey Hristov
6157793026
fix warnings. These checks are not needed because
...
param_no is unsigned, it wasn't in the beginning.
2011-02-01 16:55:20 +00:00
Andrey Hristov
23437f011c
Add two new enums constants from the server
2011-01-31 13:52:21 +00:00
Kalle Sommer Nielsen
c924dedb73
Fixed bug #53795 (Connect Error from MySqli (mysqlnd) when using SSL)
2011-01-31 12:47:28 +00:00
Andrey Hristov
f1cb5e6253
fix zts build
2011-01-19 18:09:17 +00:00
Pierre Joye
b3efabda4c
- fix the fix (wrong test)
2011-01-18 10:29:26 +00:00
Pierre Joye
e3785f253e
- don't try to access if calloc fails (quick review of its usage: seems that the stats member is validated in other places, to be confirmed)
2011-01-17 14:07:40 +00:00
Pierre Joye
5c23366d6b
- fix NULL derefencing
2011-01-17 14:01:01 +00:00
Andrey Hristov
21fba3513a
new flag
2011-01-10 15:14:56 +00:00
Andrey Hristov
eaaef0d870
Proper fix for
...
Bug #53503 mysqli::query returns false after successful LOAD DATA query
which fixes als #56349 , same behavior but in ext/mysql. Both due to a bug
in mysqlnd. Never was a problem with libmysql.
Also fixed the 53503's test case as it always reported PASS, even when there
should have been a failure.
2011-01-07 14:22:30 +00:00
Felipe Pena
927bf09c29
- Year++
2011-01-01 02:19:59 +00:00
Andrey Hristov
17b8336047
fix a small bug about affected_rows in the text protocol
2010-12-16 12:56:19 +00:00
Andrey Hristov
4e08abeead
Fix sprintf modifier to be right, wrong data reported in the log
2010-12-16 12:18:54 +00:00
Andrey Hristov
f35b89c7c4
count preciser in case of error
2010-12-15 14:14:58 +00:00
Pierre Joye
aea6771d19
- add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :)
2010-12-13 18:43:10 +00:00
Andrey Hristov
85b434465c
enable again after 5.3.4 has already been tagged
2010-12-08 21:55:29 +00:00
Andrey Hristov
fc6e70d8e4
switch this off for the release
2010-12-07 11:13:55 +00:00
Andrey Hristov
5efdfee8c6
Skip additional result sets sent by MySQL 5.5 servers
...
which break the Protocol API
(see http://bugs.mysql.com/bug.php?id=58700 )
2010-12-06 13:59:14 +00:00
Andrey Hristov
03fd10c479
don't crash if the API is used incorrectly
2010-12-06 13:50:51 +00:00
Andrey Hristov
3da811a124
new server constant as of 5.5
2010-12-02 13:59:56 +00:00
Andrey Hristov
4adcc3c7bc
add a comment
2010-12-01 10:16:51 +00:00
Pierre Joye
4af7de49aa
- fix build
2010-11-15 23:46:21 +00:00
Andrey Hristov
837391a9a7
two new stats
2010-11-05 20:07:34 +00:00
Andrey Hristov
c10af225c4
- More features for the profiling, create aggregates and dump them
...
on file close.
- Also add a trace modifier to switch on and off the profiling.
- With additional compiler switch the profiling can be completely omitted,
of course it makes sense only when --enable-debug. Because otherwise
there is no tracing, thus no profiling.
- Added a fix for Windows for handling trace files on different devices
(special handing of ':' )
2010-10-29 15:02:39 +00:00
Andrey Hristov
cd6ea54deb
gettimeofday for windows
2010-10-28 14:14:06 +00:00
Andrey Hristov
443bedf204
show tracing
2010-10-28 14:07:36 +00:00
Andrey Hristov
4c34cd9f38
fix windows debug build
...
better zlib detection
2010-10-28 13:46:54 +00:00
Andrey Hristov
762a1b2d26
rename and remove usage of inttypes.h, not needed
2010-10-25 13:44:11 +00:00
Andrey Hristov
924bb78167
profiling in trace mode
2010-10-22 15:46:26 +00:00
Andrey Hristov
4cedb6d08a
last piece to enable trace logging on windows
2010-10-22 14:34:33 +00:00
Andrey Hristov
f7c44c8c4d
enable debug logging on windows, in debug builds, of course
2010-10-22 14:12:45 +00:00
Andrey Hristov
93d7715e7b
new collations
2010-10-08 09:15:31 +00:00
Andrey Hristov
2d2d6f84ba
fix some uninitialized variables. also fix shadowing of global symbols
2010-10-07 13:49:00 +00:00
Andrey Hristov
4f62c099cd
Fix for Bug #52686 mysql_stmt_attr_[gs]et arg. points to incorrect type
2010-10-06 11:11:02 +00:00
Andrey Hristov
1cca9d4bf1
more variable hiding fixes
2010-10-06 07:09:37 +00:00
Andrey Hristov
062ddaa700
fix shadowing of parameters
2010-10-06 06:08:55 +00:00
Andrey Hristov
82de444f9a
rename parameter name - should not shadow the global symbol alloca
2010-10-05 17:20:00 +00:00
Andrey Hristov
eb2908c3f7
two more compiler warnings fixed - size does matter
2010-10-05 17:10:47 +00:00
Andrey Hristov
25e84b6a23
Rename a method so it doesn't clash with a global symbol - a function
...
Fix compiler waring by extening the type of a variable
2010-10-05 17:03:50 +00:00
Andrey Hristov
3daf54ffa0
Fix compiler warnings - on 32bit size_t is smaller than uint64_t, although
...
we will never hit this the compiler should be happy.
2010-10-05 16:54:14 +00:00
Andrey Hristov
548661d96d
rename parameter, should not conflict with global symbol -
...
the socket function
2010-10-05 16:27:49 +00:00
Andrey Hristov
e97a07ae9e
remove trailing commas in enums
2010-10-05 14:56:49 +00:00