summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove test/udf_test and test/udf_test.res, since udf's are nowadaysmsvensson@pilot.blaudden2007-03-153-209/+1
| | | | tested by mysql-test-run.pl
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-01-221-1203/+1203
|\ | | | | | | into mysql.com:/home/my/mysql-5.0
| * Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2006-12-151-1203/+1203
| |\ | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | * Fixed compiler warnings detected by option -Wshadow and -Wunused:monty@mysql.com/narttu.mysql.fi2006-12-151-1203/+1203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed not used variables and functions - Added #ifdef around code that is not used - Renamed variables and functions to avoid conflicts - Removed some not used arguments Fixed some class/struct warnings in ndb Added define IS_LONGDATA() to simplify code in libmysql.c I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
* | | Bug #15518 Reusing a stmt that has failed during prepare does not clear errormsvensson@pilot.mysql.com2007-01-191-1/+0
| | | | | | | | | | | | | | | - Additional patch removing check for mysql_errno on already closed mysql1
* | | Merge 192.168.0.10:mysql/mysql-5.0-maintmsvensson@pilot.mysql.com2007-01-171-0/+28
|\ \ \ | | | | | | | | | | | | into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint
| * \ \ Merge bk-internal.mysql.com:/home/bk/mysql-5.0kostja@bodhi.local2007-01-111-0/+28
| |\ \ \ | | | | | | | | | | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| | * | | A fix and a test case for Bug#24179 "select b into $var" fails with kostja@bodhi.local2006-12-011-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | --cursor_protocol": fix a misleading error message in case of SELECT .. INTO.
* | | | | Merge neptunus.(none):/home/msvensson/mysql/bug15518/my50-bug15518msvensson@neptunus.(none)2007-01-161-8/+85
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | | | Bug#15518 Reusing a stmt that has failed during prepare does not clear errormsvensson@neptunus.(none)2007-01-161-8/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Always reset error when calling mysql_stmt_prepare a second time - Set stmt->state to MYSQL_STMT_INIT_DONE before closing prepared stmt in server. - Add test to mysql_client_test - Remove mysql_stmt_close in mysqltest after each query - Close all open statements in mysqltest if disable_ps_protocol is called.
* | | | | my_strtoll10-x86.s:kent@mysql.com/kent-amd64.(none)2006-12-313-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Corrected spelling in copyright text Makefile.am: Don't update the files from BitKeeper Many files: Removed "MySQL Finland AB & TCX DataKonsult AB" from copyright header Adjusted year(s) in copyright header Many files: Added GPL copyright text Removed files: Docs/Support/colspec-fix.pl Docs/Support/docbook-fixup.pl Docs/Support/docbook-prefix.pl Docs/Support/docbook-split Docs/Support/make-docbook Docs/Support/make-makefile Docs/Support/test-make-manual Docs/Support/test-make-manual-de Docs/Support/xwf
* | | | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-2310-20/+11
| |_|/ / |/| | | | | | | | | | | Changed header to GPL version 2 only
* | | | Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0msvensson@neptunus.(none)2006-12-041-0/+147
|\ \ \ \ | |/ / / |/| / / | |/ / into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | Merge bk-internal.mysql.com:/home/bk/mysql-5.0kostja@bodhi.local2006-11-291-1/+6
| |\ \ | | |/ | | | | | | into bodhi.local:/opt/local/work/mysql-5.0-runtime
| * | After merge fixes: remove const and add query buffer.kroki/tomash@moonlight.intranet2006-11-221-1/+2
| | |
| * | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0kroki/tomash@moonlight.intranet2006-11-221-0/+68
| |\ \ | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug21635
| | * \ Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug21635kroki/tomash@moonlight.intranet2006-11-221-0/+68
| | |\ \ | | | | | | | | | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug21635
| | | * | BUG#21635: MYSQL_FIELD struct's member strings seem to misbehave forkroki/tomash@moonlight.intranet2006-11-221-0/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | expression cols. The problem was that MYSQL_FIELD::org_name was set for MIN() and MAX() functions (COUNT() is also mentioned in the bug report but was already fixed). After this patch for expressions MYSQL_FIELD::name is set to either expression itself or its alias, and other data origin fields of MYSQL_FILED (db, org_table, table, org_name) are empty strings.
| * | | | Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-4.1-bug23383kroki/tomash@moonlight.intranet2006-11-171-0/+78
| |\ \ \ \ | | |/ / / | |/| | | | | | | | into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug23383
| | * | | BUG#23383: mysql_affected_rows() returns different values thankroki/tomash@moonlight.intranet2006-11-171-0/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mysql_stmt_affected_rows() The problem was that affected_rows for prepared statement wasn't updated in the client library on the error. The solution is to always update affected_rows, which will be equal to -1 on the error.
| | * | | Merge bk-internal.mysql.com:/home/bk/mysql-4.1cmiller@zippy.cornsilk.net2006-11-021-0/+4
| | |\ \ \ | | | |/ / | | |/| | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
| | | * | Add valgrinding support for mysql_client_testmsvensson@neptunus.(none)2006-10-251-0/+2
| | | | | | | | | | | | | | | | | | | | Fix two memory leaks in mysql_client_test
| | * | | BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID.kroki/tomash@moonlight.intranet2006-10-061-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: bug#21726 does not directly apply to 4.1, as it doesn't have stored procedures. However, 4.1 had some bugs that were fixed in 5.0 by the patch for bug#21726, and this patch is a backport of those fixes. Namely, in 4.1 it fixes: - LAST_INSERT_ID(expr) didn't return value of expr (4.1 specific). - LAST_INSERT_ID() could return the value generated by current statement if the call happens after the generation, like in CREATE TABLE t1 (i INT AUTO_INCREMENT PRIMARY KEY, j INT); INSERT INTO t1 VALUES (NULL, 0), (NULL, LAST_INSERT_ID()); - Redundant binary log LAST_INSERT_ID_EVENTs could be generated.
* | | | | Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0msvensson@neptunus.(none)2006-11-281-1/+6
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | | | Remove compiler warningsmonty@mysql.com/nosik.monty.fi2006-11-201-1/+6
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | (Mostly in DBUG_PRINT() and unused arguments) Fixed bug in query cache when used with traceing (--with-debug) Fixed memory leak in mysqldump Removed warnings from mysqltest scripts (replaced -- with #)
* | | | Bug#19817 error when try to compile PHP5.1 with mysql 5.0.21 static libsmsvensson@neptunus.(none)2006-11-131-11/+3
|/ / / | | | | | | | | | | | | | | | | | | - Most likely caused by linking with libmysqlclient using gcc and not g++. - Removing our "yassl_dummy_link_fix" hacks so some test programs are linked with gcc - Remove build of non working test programs in vio
* | | Fix memory leaks found when valgrinding mysql_client_testmsvensson@neptunus.(none)2006-10-251-1/+7
| | | | | | | | | | | | Remove one warning
* | | Bug#23037 Bug in field "Default" of query "SHOW COLUMNS FROM table"msvensson@neptunus.(none)2006-10-241-4/+16
| | | | | | | | | | | | | | | - Fix check in mysql_client_test to reflect the change of datatype for DEFAULT column
* | | Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1-maintmsvensson@neptunus.(none)2006-10-241-1/+2
|\ \ \ | | |/ | |/| | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | Run mysql_client_test without --silentmsvensson@neptunus.(none)2006-10-241-0/+2
| |/ | | | | | | Flush both stdout and stderr before abort'ing mysql_client_test
| * Merge ↵cmiller@zippy.cornsilk.net2006-08-311-2/+3
| |\ | | | | | | | | | | | | | | | zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my41-no-strange-literals into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-4.1-maint
* | \ Merge neptunus.(none):/home/msvensson/mysql/bug17039/my50-bug17039msvensson@neptunus.(none)2006-10-191-0/+14
|\ \ \ | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | | Bug#17039 Cursor with procedure crashes clientmsvensson@neptunus.(none)2006-09-071-0/+14
| | | | | | | | | | | | | | | | - Change 'get_unit_column_type" to return the field list for the procedure
* | | | BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_IDkroki/tomash@moonlight.intranet2006-10-021-1/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Non-upper-level INSERTs (the ones in the body of stored procedure, stored function, or trigger) into a table that have AUTO_INCREMENT column didn't affected the result of LAST_INSERT_ID() on this level. The problem was introduced with the fix of bug 6880, which in turn was introduced with the fix of bug 3117, where current insert_id value was remembered on the first call to LAST_INSERT_ID() (bug 3117) and was returned from that function until it was reset before the next _upper-level_ statement (bug 6880). The fix for bug#21726 brings back the behaviour of version 4.0, and implements the following: remember insert_id value at the beginning of the statement or expression (which at that point equals to the first insert_id value generated by the previous statement), and return that remembered value from LAST_INSERT_ID() or @@LAST_INSERT_ID. Thus, the value returned by LAST_INSERT_ID() is not affected by values generated by current statement, nor by LAST_INSERT_ID(expr) calls in this statement. Version 5.1 does not have this bug (it was fixed by WL 3146).
* | | | Merge shellback.(none):/home/msvensson/mysql/bug22139/my50-bug22139msvensson@shellback.(none)2006-09-151-6/+3
|\ \ \ \ | | | | | | | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | | | Bug#22139 undefined reference to `my_memmem' when compiling ↵msvensson@shellback.(none)2006-09-121-6/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | tests/mysql_client_test - Build mysql_client_test from mysql_client_test.c and mysys/my_memmem.c
* | | | Merge bk-internal.mysql.com:/data0/bk/mysql-5.0grichter@bk-internal.mysql.com2006-09-021-2/+3
|\ \ \ \ | | | | | | | | | | | | | | | into bk-internal.mysql.com:/data0/bk/mysql-5.0-cmake
| * \ \ \ Merge ↵cmiller@zippy.cornsilk.net2006-08-311-2/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my50-no-strange-literals into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-maint
| | * \ \ \ Merge ↵cmiller@zippy.cornsilk.net2006-08-311-2/+3
| | |\ \ \ \ | | | | |_|/ | | | |/| | | | | | | | | | | | | | | | | | | | zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my41-no-strange-literals into zippy.cornsilk.net:/home/cmiller/work/mysql/no-strange-literals/my50-no-strange-literals
| | | * | | Bitkeeper's Tk interface uses UTF8 by default, so mixing charsets in a cmiller@zippy.cornsilk.net2006-08-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | single file is a bad practice.
| | * | | | Merge bk-internal:/home/bk/mysql-5.0-maintmsvensson@neptunus.(none)2006-08-221-2/+2
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
| | * | | | | Remove debug printout from mysql_client_testmsvensson@neptunus.(none)2006-08-221-2/+0
| | | | | | |
* | | | | | | make dist changes for Cmake buildgeorg@lmy002.wdf.sap.corp2006-09-011-1/+2
| | | | | | |
* | | | | | | Additional files for cmake supportgeorg@lmy002.wdf.sap.corp2006-08-311-0/+9
|/ / / / / /
* | | | | | Bug#21813 An attacker has the opportunity to bypass query logging, part2msvensson@neptunus.(none)2006-08-301-23/+66
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use the "%.*b" format when printing prepared and exeuted prepared statements to the log. - Add test case to check that also prepared statements end up in the query log Bug#14346 Prepared statements corrupting general log/server memory - Use "stmt->query" when logging the newly prepared query instead of "packet"
* | | | | Bug#21757: mysql_client_test fails in testcase when reading master.log fileiggy@rolltop.ignatz42.dyndns.org2006-08-211-2/+2
|/ / / /
* | | | Merge bk-internal:/home/bk/mysql-5.0-maintmsvensson@shellback.(none)2006-08-211-0/+2
|\ \ \ \ | | | | | | | | | | | | | | | into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
| * | | | Print lines from log file to see what's in themmsvensson@shellback.(none)2006-08-211-0/+2
| | | | |
* | | | | Merge zippy.cornsilk.net:/home/cmiller/work/mysql/merge/tmp_mergecmiller@zippy.cornsilk.net2006-08-171-3/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | into zippy.cornsilk.net:/home/cmiller/work/mysql/merge/mysql-5.0
| * | | | Remove extra whitespacemsvensson@neptunus.(none)2006-08-071-3/+3
| | | | |