| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Renames:
mysql_bind_param -> mysql_stmt_bind_param
mysql_bind_result -> mysql_stmt_bind_result
mysql_execute -> mysql_stmt_execute
mysql_fetch -> mysql_stmt_fetch
mysql_fetch_column -> mysql_stmt_fetch_column
mysql_get_metadata -> mysql_stmt_result_metadata
mysql_param_count -> mysql_stmt_param_count
mysql_param_result -> mysql_stmt_param_metadata
mysql_prepare -> mysql_stmt_prepare
mysql_send_long_data -> mysql_stmt_send_long_data
client_test.c cleaned up from memory leaks
|
|
|
|
| |
reviewed in Saint-Petersbourg (including post-review fixes).
|
|
|
|
| |
an *exact* match
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
| |\ \ |
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
fixed UNION preparation
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| |\ \ \
| | |/ /
| |/| | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Now one need only SELECT privilege for tables that are only read in
UPDATE statements with many tables. (Bug #2377).
|
|\ \ \ \
| |_|_|/
|/| | | |
|
| |/ /
| | |
| | |
| | | |
last command"
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
"MySQL server does not detect if garbage chars at the end of query":
Detect garbage chars at the end of the query or at the end of a query
for a prepared statement (which happens if mysql_real_query() or mysql_prepare()
were called with a too big 'length' parameter (bigger than the real intended
length of the query: then we receive a query + garbage characters from the
client). This resulted in garbage chars written into the binlog.
Now instead the client receives something like:
'You have an error in your SQL syntax. Check the manual that corresponds
to your MySQL server version for the right syntax to use near '!stmt'
at line 1' i.e. the server is pointing at the weird tail of the query
(this '!stmt' are the garbage chars sent by the client).
All tests pass, except mysqldump.test and ctype_utf8.test but they failed
before the patch.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Done clean-up in prep stmt API functions:
1) Removed some checks that were performed only in debug version
were making debug version more tolerable to user errors than
production (and thus caused problems for example masking some
bugs).
2) Also removed some other checks to make prep stmt API
consistent with the rest of C API (this also in line with
general politics - make checks in only those places where
errors are very common and hard to spot).
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
(declarations should be on top of a block)
|
|\ \
| | |
| | |
| | | |
into rurik.mysql.com:/home/igor/mysql-4.1
|
| | |
| | |
| | |
| | | |
Added resize key cache test.
|
|/ /
| |
| |
| |
| | |
"You can always mysql_real_query a query with placeholders
after mysql_prepare()"
|
| |
| |
| |
| |
| |
| |
| |
| | |
We treat Item_param whose value is not set as non-const.
This allows us to avoid use of Item_param's value (not yet existing) in
those fix_fields and fix_length_and_dec that do calculations if their
Items arguments are const. So we can call fix_fields for such items from
mysql_prepare safely.
|
| |
| |
| |
| |
| | |
Changed ~Item_func_in() to call cleanup() (to fix memory leak)
Fixed test_multi_statements() test in client_test
|
| | |
|
| |
| |
| |
| | |
Fixed. Enabled test case in client_test.c.
|
| |
| |
| |
| | |
And added new test for BUG#1644. (Disabled for now, not fixed yet.)
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Note:
- All test results haven't been inspected in detail to see if they are correct.
- Some result set printing seems to have the wrong field width; most notably
date/time fields and type fields (e.g. "int(4)").
- There are still some valgrind complaints, but they seem to be in assert() or
in libmysql.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| | |
Added --include and --libs_r options to mysql_config.
Added mysql_get_client_version() to client library
Fixed some minor benchmark issues
|
| |
| |
| |
| |
| | |
.c files (the IBM Visual Age C compiler aborts with a syntax error
on these)
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
|
|/ / |
|
| |
| |
| |
| |
| |
| | |
buffer) (BUG#1115)
fixed test_field_misc (UTF variable value)
|
| | |
|
| |
| |
| |
| | |
client protocol is >= 4.1
|
| | |
|
| |
| |
| |
| | |
Windows build fix
|
| |
| |
| |
| | |
(fix for memory ovverun bug from DBD(ranger) + changes for removal of collation from explain)
|
|\ \ |
|
| |\ \
| | |/ |
|
| | |
| | |
| | |
| | |
| | | |
Better fix for format('nan')
Fix for HAVING COUNT(DISTINCT...)
|
| | | |
|
| | |\ |
|