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
Andrey Hristov
bf7e6f930c
add some safe casts
2010-10-05 11:08:21 +00:00
Andrey Hristov
c4e145b0bc
fixing more types
2010-10-05 10:30:00 +00:00
Andrey Hristov
df2261df2a
fix types
2010-10-05 08:56:21 +00:00
Ulf Wendel
234181f690
Fix warnings
...
ext\mysqlnd\mysqlnd_result_meta.c(57) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqlnd\mysqlnd_result_meta.c(64) : warning C4090: 'initializing' : different 'const' qualifiers
ext\mysqli\mysqli_report.c(50) : warning C4013: 'php_mysqli_throw_sql_exception' undefined; assuming extern returning int
2010-10-05 08:29:54 +00:00
Andrey Hristov
4c88033aa2
fix recent TSRM build break, with --enable-debug
2010-10-05 08:17:33 +00:00
Kalle Sommer Nielsen
54624f9902
We do not need this TSRMLS_FETCH() call as we do not use any TSRM stuff in here, so we can get
...
a minor boost here in ZTS mode.
2010-10-04 21:04:25 +00:00
Andrey Hristov
a4ad111454
fix two more warnings
2010-10-04 14:52:14 +00:00
Andrey Hristov
9f73a4e045
add some safe casts - lower the number of warnings by 2
2010-10-04 14:12:31 +00:00
Andrey Hristov
4c63a2232d
Fix const-ness
2010-10-04 13:54:30 +00:00
Andrey Hristov
159ed311cc
Even better patch
2010-10-04 12:59:29 +00:00
Andrey Hristov
cacd5ad924
don't define twice the macro on some platforms
2010-10-04 12:41:12 +00:00
Ulf Wendel
1f9a7fd758
Fixing compiler warning.
2010-10-04 10:58:05 +00:00
Ulf Wendel
ee2a82e327
Fixing "ext/mysqlnd/mysqlnd.h", line 287: warning: syntax error: empty declaration"
2010-10-04 10:51:44 +00:00
Andrey Hristov
3113744c57
Fix a problem that leads to leaks in plugins that
...
use stmt local data - no free is called for statements
that are over-prepared
2010-09-29 13:18:07 +00:00
Andrey Hristov
22d73027d0
add another hook, maybe the last one, for MYSQLND_STMT, which
...
was missed before
2010-09-28 14:36:18 +00:00
Andrey Hristov
b080cfcc71
Fix the value, it was bumped
2010-09-27 11:23:01 +00:00
Andrey Hristov
216effe4f5
WS fixes
2010-09-23 16:03:22 +00:00
Andrey Hristov
ff27146950
small macro fix
2010-09-22 14:54:43 +00:00
Andrey Hristov
86c1364695
fix for bug 52891 - optimize a bit
2010-09-22 14:26:43 +00:00
Andrey Hristov
1de4cfb791
Fix for
...
Bug #52891 Wrong data inserted with mysqli/mysqlnd when using bind_param,value>LONG_MAX
2010-09-22 11:38:49 +00:00
Andrey Hristov
17ae7c1659
remove unneeded proxy function _mysqlnd_restart_psessoin
2010-09-15 12:23:45 +00:00
Andrey Hristov
d99ee78503
Remove unneeded proxy function _mysqlnd_end_psession
2010-09-15 12:11:33 +00:00
Andrey Hristov
292785ed61
fix build on windows, seems this macro is not defined
2010-09-01 16:54:20 +00:00
Andrey Hristov
8220c2e4ce
OPT_COMPRESS support for mysqlnd_conn::set_client_option
...
To be used by mysqli_options
2010-09-01 14:47:36 +00:00
Andrey Hristov
72bef34918
Fix for MySQL Bug #49406
...
Binding params doesn't work when selecting a date inside a CASE-WHEN
(http://bugs.mysql.com/bug.php?id=49406 )
The MySQL server sends MYSQL_TYPE_NEWDATE values as clear text, even
when PS are used and thus the binary protocol are used. Changing the
handler for the type.
2010-08-30 18:10:23 +00:00
Andrey Hristov
d9f50d95e3
Add proper magic_quotes_runtime support for mysqlnd, but
...
in mysqli, so we don't need to tamper myslqnd.
magic_quotes_runtime are deprecated and not existant in 5.4, thus
only fixing in the branch.
2010-08-26 14:51:58 +00:00
Andrey Hristov
ab778e7414
Fix for bug #52221 Misbehaviour of magic_quotes_runtime (get/set))
2010-08-25 15:06:47 +00:00
Andrey Hristov
2a926ec6ec
Fix for Bug #52613 crash in mysqlnd
2010-08-17 18:08:25 +00:00
Andrey Hristov
c204922c7f
Added utf16 and utf32 support, as in MySQL 5.5, in mysqlnd.
...
Fixed tests, so they don't try to use SET NAMES utf16|utf32,
as character_set_client can't be set to those (the lexer can't
read ucs2, utf16 and utf32).
Added support for 4-byte utf8, as found in MySQL 5.5
2010-08-16 17:44:50 +00:00