summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* New call mysql_stmt_init() introduced.konstantin@mysql.com2004-03-051-14/+31
| | | | | | | | | | | | | | | | 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
* Desperate attempt to push part of prepared statements cleanup which was konstantin@oak.local2004-03-021-2/+0
| | | | reviewed in Saint-Petersbourg (including post-review fixes).
* compare a decimal value with a string not a double, as we want to test for ↵serg@serg.mylan2004-02-291-18/+18
| | | | an *exact* match
* after review fixbell@sanja.is.com.ua2004-02-201-1/+1
|
* mergebell@sanja.is.com.ua2004-02-171-2/+94
|\
| * mergebell@sanja.is.com.ua2004-02-141-1/+84
| |\
| * | PS fixed to be compatible with derived tables (BUG#2641)bell@sanja.is.com.ua2004-02-121-8/+9
| | |
| * | mergebell@sanja.is.com.ua2004-02-121-169/+249
| |\ \
| * | | memory leacks in PS with subqueries fixed (adddition to fix of BUG#2462)bell@sanja.is.com.ua2004-02-121-1/+2
| | | |
| * | | fixed cleupup() for distinct aggregate functions (BUG#2663)bell@sanja.is.com.ua2004-02-081-0/+33
| | | |
| * | | fixed subquery with PS (BUG#2462)bell@sanja.is.com.ua2004-02-081-0/+51
| | | | | | | | | | | | | | | | fixed UNION preparation
* | | | Merge with public treemonty@mysql.com2004-02-162-94/+210
|\ \ \ \ | |_|_|/ |/| | |
| * | | Merge with 4.0.18monty@mysql.com2004-02-112-94/+210
| |\ \ \ | | |/ / | |/| |
| | * | Ensure that privileges are tested properly for multi-table-updates.monty@mysql.com2004-02-032-94/+210
| | | | | | | | | | | | | | | | | | | | Now one need only SELECT privilege for tables that are only read in UPDATE statements with many tables. (Bug #2377).
* | | | manual merge, bug #2247konstantin@mysql.com2004-02-131-0/+80
|\ \ \ \ | |_|_|/ |/| | |
| * | | Fix for bug #2247: "mysql_stmt_affected_rows returns affected rows from konstantin@oak.local2004-02-061-0/+80
| |/ / | | | | | | | | | last command"
* | | Manual merge.dlenev@mysql.com2004-02-111-140/+177
|\ \ \
| * | | Fix for BUG#2703 guilhem@gbichot2.local2004-02-111-140/+177
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "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.
* | | Fixed bug #2248 "mysql_fetch without prior mysql_execute hangs"dlenev@dlenev.mshome2004-02-101-29/+69
|/ / | | | | | | | | | | | | | | | | | | | | | | 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).
* | Prepared_statement deployed instead of PREP_STMT. konstantin@oak.local2003-12-201-1/+1
| |
* | commented why valgrind barks at the bug #1500konstantin@oak.local2003-12-081-0/+5
| |
* | cleanupkonstantin@oak.local2003-11-261-3/+3
| |
* | cleanupkonstantin@oak.local2003-11-261-2/+2
| |
* | - fixed compile error in tests/client_test.clenz@kallisto.local2003-11-261-1/+1
| | | | | | | | (declarations should be on top of a block)
* | Merge ibabaev@bk-internal.mysql.com:/home/bk/mysql-4.1igor@rurik.mysql.com2003-11-251-2/+34
|\ \ | | | | | | | | | into rurik.mysql.com:/home/igor/mysql-4.1
| * | fork_big2.pl:igor@rurik.mysql.com2003-11-251-2/+34
| | | | | | | | | | | | Added resize key cache test.
* | | fix for bug #1946:konstantin@oak.local2003-11-251-0/+28
|/ / | | | | | | | | "You can always mysql_real_query a query with placeholders after mysql_prepare()"
* | Fix for bug #1500 "Server crash with mysql_prepare"dlenev@dlenev.mshome2003-11-231-0/+112
| | | | | | | | | | | | | | | | 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 mysql_next_result() to return int instead of boolmonty@mashka.mysql.fi2003-11-191-395/+444
| | | | | | | | | | Changed ~Item_func_in() to call cleanup() (to fix memory leak) Fixed test_multi_statements() test in client_test
* | Delete duplicate error message namesmonty@mashka.mysql.fi2003-11-181-1/+1
| |
* | BUG#1644: Insertion of more than 3 NULL columns with parameter binding failspem@mysql.comhem.se2003-10-271-2/+1
| | | | | | | | Fixed. Enabled test case in client_test.c.
* | A few more fixes.pem@mysql.comhem.se2003-10-251-2/+111
| | | | | | | | And added new test for BUG#1644. (Disabled for now, not fixed yet.)
* | A major overhaul to adopt to recent changes. It now passes all tests.pem@mysql.comhem.se2003-10-251-70/+130
| | | | | | | | | | | | | | | | | | 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.
* | Merge with 4.0.16monty@narttu.mysql.fi2003-10-071-2/+2
|\ \ | |/
| * Block SIGPIPE also for not threaded client programs.monty@narttu.mysql.fi2003-09-231-2/+2
| | | | | | | | | | | | | | Added --include and --libs_r options to mysql_config. Added mysql_get_client_version() to client library Fixed some minor benchmark issues
* | - Code cleanup: replaced C++-style comments with the proper syntax forlenz@kallisto.local2003-09-241-1/+1
| | | | | | | | | | .c files (the IBM Visual Age C compiler aborts with a syntax error on these)
* | merge with 4.1 treemonty@mashka.mysql.fi2003-09-111-13/+12
|\ \
| * | After merge fixes.monty@mashka.mysql.fi2003-09-111-13/+12
| | | | | | | | | | | | Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
* | | fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation)bell@sanja.is.com.ua2003-09-021-0/+80
|/ /
* | fixed string parameter assugnment (coping instead of asigning pointer to ↵bell@sanja.is.com.ua2003-09-021-2/+86
| | | | | | | | | | | | buffer) (BUG#1115) fixed test_field_misc (UTF variable value)
* | Fix for timestamp issue (BR #819)venu@myvenu.com2003-07-301-24/+52
| |
* | Enable warnings by default for single value list inserts also when the ↵venu@myvenu.com2003-07-211-4/+87
| | | | | | | | client protocol is >= 4.1
* | test for SQL_MODE with PIPES_AS_CONCAT, ANSI and IGNORE_SPACEvenu@myvenu.com2003-06-241-4/+135
| |
* | Fix for mysql_list_fields & reset stmt buffers from stmt_free_resultvenu@myvenu.com2003-06-081-47/+191
| | | | | | | | Windows build fix
* | protocol test update venu@myvenu.com2003-06-041-5/+125
| | | | | | | | (fix for memory ovverun bug from DBD(ranger) + changes for removal of collation from explain)
* | mergemonty@mashka.mysql.fi2003-05-224-41/+138
|\ \
| * \ Merge with 4.0.13monty@narttu.mysql.fi2003-05-194-41/+138
| |\ \ | | |/
| | * Safety fix to enable RAID in max binariesmonty@mashka.mysql.fi2003-05-132-28/+48
| | | | | | | | | | | | | | | Better fix for format('nan') Fix for HAVING COUNT(DISTINCT...)
| | * More testsmonty@mashka.mysql.fi2003-05-082-6/+22
| | |
| | * Merge to get security patchmonty@mashka.mysql.fi2003-05-082-0/+28
| | |\