Commit graph

41 commits

Author SHA1 Message Date
lenz@kallisto.local
5ce5a68b4e - Code cleanup: replaced C++-style comments with the proper syntax for
.c files (the IBM Visual Age C compiler aborts with a syntax error
   on these)
2003-09-24 08:35:02 +02:00
monty@mashka.mysql.fi
7538242e4f merge with 4.1 tree 2003-09-11 20:31:40 +03:00
monty@mashka.mysql.fi
45aa92c574 After merge fixes.
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
2003-09-11 19:06:23 +03:00
bell@sanja.is.com.ua
51374e569d fixed BUG#1180 (changing WHERE clause of prepared statements by optimisation) 2003-09-02 19:56:55 +03:00
bell@sanja.is.com.ua
0f456a480e fixed string parameter assugnment (coping instead of asigning pointer to buffer) (BUG#1115)
fixed test_field_misc (UTF variable value)
2003-09-02 14:37:06 +03:00
venu@myvenu.com
45dcca7351 Fix for timestamp issue (BR #819) 2003-07-30 02:01:53 -07:00
venu@myvenu.com
bc7cf30338 Enable warnings by default for single value list inserts also when the client protocol is >= 4.1 2003-07-21 00:13:22 -07:00
venu@myvenu.com
5788c90d07 test for SQL_MODE with PIPES_AS_CONCAT, ANSI and IGNORE_SPACE 2003-06-24 10:43:57 -07:00
venu@myvenu.com
d764294f12 Fix for mysql_list_fields & reset stmt buffers from stmt_free_result
Windows build fix
2003-06-08 09:11:14 -07:00
venu@myvenu.com
2e27ab2708 protocol test update
(fix for memory ovverun bug from DBD(ranger) + changes for removal of collation from explain)
2003-06-04 00:19:09 -07:00
venu@myvenu.com
7b2ac7f83c client_test.c:
Updated protocol test
2003-05-21 01:15:04 -07:00
venu@myvenu.com
1f88025066 Fix EXPLAIN bug with binary protocol
Added new client tests (EXPLAIN + DECIMAL conv)
2003-03-04 14:22:30 -08:00
venu@myvenu.com
245a6f8404 1. Fix for the crash in debug mode when the .frm is corrupted and SHOW TABLE STATUS is executed.This also fixes to return the error message to comment field in SHOW TABLE STATUS when the .frm is corrupted
2. Test for corrupted .frm and the SHOW TABLE STATUS
2003-02-24 17:05:03 -08:00
venu@myvenu.com
b6d08e4b45 Another misc variable test which is of bool type returning a longlong 2003-02-15 15:13:58 -08:00
venu@myvenu.com
c52d1035a3 Updated tests for MYSQL_FIELD members for misc cases 2003-02-15 15:01:04 -08:00
venu@myvenu.com
03fd42e601 Fix stupid signed and unsigned conversion - When field and buffer types are different (Client receiving end)
Added tests for singed and unsigned conversion (client_test.c)
2003-02-05 12:21:01 -08:00
venu@myvenu.com
4e1d69d618 Conversion fix - bug report from PHP
Added a new conversion bug test
Changed options with default_options read from my.ini from [client] section
More cleanups for better usage
2003-02-04 18:54:14 -08:00
venu@myvenu.com
0aaab85f70 Force to read all unread packets on stmt_close 2003-01-31 15:20:03 -08:00
venu@myvenu.com
5c1d2a5626 Few misc cases check from PHP - client_test
Fix the buffer_length ovveride when length ptr is NULL - libmysql
2003-01-31 13:43:38 -08:00
venu@myvenu.com
fdc48a0597 Fix for subsequent error calls in multi-query 2003-01-31 00:35:06 -08:00
venu@myvenu.com
87206f104a Fix alloc_stmt_fields for non-select statements
Add tests for show commands + MYSQL_TYPE_NULL coverage
2003-01-30 14:33:49 -08:00
venu@myvenu.com
81c580af37 Merge conflict 2003-01-30 01:02:57 -08:00
venu@myvenu.com
260998632a Tests for 'n' concurrent statement execution 2003-01-30 00:41:14 -08:00
bar@bar.mysql.r18.ru
b2c97a0f60 client_test.c:
Compilation failure fix
2003-01-29 11:38:59 +04:00
venu@myvenu.com
79e1fd8d0e Fix leak when the client disconnects with open prep statements 2003-01-28 09:24:27 -08:00
venu@myvenu.com
ca62e9f6a0 Fix stmt_close not to close the resources on error(libmysql)
Enable test_stmt_close() and test output to stdout(client_test)
2003-01-27 10:54:45 -08:00
venu@myvenu.com
6af9b46e5f Remove un-used variables
Pure coverage tests (debug only)
2003-01-25 22:52:45 -08:00
venu@myvenu.com
bea75a4211 Misc cleanups + pure coverage test + Monty's comments 2003-01-24 03:17:26 -08:00
venu@myvenu.com
28552c27a0 Add DATE,TIME and TS tests - MYSQL_TIME handling 2003-01-23 22:39:07 -08:00
venu@myvenu.com
93d4055e21 Remove bind_length + Fix the client-test 2003-01-22 01:30:13 -08:00
monty@mashka.mysql.fi
25c393a12e Portability fixes (for windows)
Some changes to the prepared statement protocol to make it easier to use and faster.
2003-01-21 21:07:59 +02:00
monty@mashka.mysql.fi
d14db3961d Merge work:/home/bk/mysql-4.1 into mashka.mysql.fi:/home/my/mysql-4.1 2003-01-19 02:28:36 +02:00
monty@mashka.mysql.fi
0d28405424 Removed compiler warnings 2003-01-19 02:24:02 +02:00
venu@myvenu.com
04f20910e3 Few more tests + store_result fix 2003-01-18 12:58:19 -08:00
venu@myvenu.com
492eba0369 Added prepared statements sample from manual as a test 2003-01-09 18:32:08 -08:00
venu@myvenu.com
bcacfe28a3 Protocol conversion tests 2003-01-07 18:53:46 -08:00
venu@myvenu.com
df2678db29 Prepared statements + binary protocol test update 2003-01-03 23:38:47 -08:00
venu@myvenu.com
500e56e0d6 client_test.c:
Modification to new API test
sql_prepare.cc:
  Fix for lock_types
2002-11-22 18:30:55 -08:00
monty@mashka.mysql.fi
d69250a969 Fixes and code cleanups after merge with 4.0.3
Warning handling and initial prepared statement handling (last not complete yet)
Changed a lot of functions that returned 0/1 to my_bool type.
GRANT handling now uses read/write locks instead of mutex
Change basic net functions to use THD instead of NET
(needed for 4.1 protocol)
Use my_sprintf instead of sprintf() + strlen()
Added alloc_query() to be able to chare query initialization code with
prepared statements.
Cleanup handling of SHOW COUNT(*) WARNINGS and SELECT LAST_INSERT_ID()

Note that the following test fails (will be fixed ASAP):
sub_select, union, rpl_rotate_logs and rpl_mystery22
2002-10-02 13:33:08 +03:00
venu@myvenu.com
8470c364a0 client_test.c:
Forgot to include the portable changes from previous commit
2002-06-13 17:36:15 -07:00
venu@myvenu.com
143fb1fc74 client_test.c:
new file

'C' Test case for all prototype changes - Assert based which covers all most all scenarios
2002-06-13 17:28:25 -07:00