monty@narttu.mysql.fi
a434bca704
Merge with 4.0
2003-03-16 19:17:54 +02:00
monty@mashka.mysql.fi
968e9a73d4
merge with 3.23 to get:
...
- Fix for empty table/column names
2003-03-15 04:41:57 +02:00
monty@mashka.mysql.fi
5ee1dbbe58
Check for empty table/column names
2003-03-14 17:08:42 +02:00
serg@serg.mysql.com
f590fa7ce2
merged
2003-03-13 17:57:24 +01:00
monty@mashka.mysql.fi
6c81552dd3
Better fix for GRANT bug
2003-03-13 16:43:43 +02: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
9305ee0d54
Merge myvenu.com:/home/venu/bk/src-4.1
...
into myvenu.com:/home/venu/work/sql/dev-4.1
2003-01-18 12:59:33 -08:00
venu@myvenu.com
04f20910e3
Few more tests + store_result fix
2003-01-18 12:58:19 -08:00
monty@mashka.mysql.fi
88cd4126e4
Simple code cleanups, ignore generated files
2003-01-18 19:31:38 +02:00
monty@mashka.mysql.fi
8acc22296c
Change client_flag to unsigned long (16 -> 32 bits) to handle more options.
...
Don't use new password format if mysql.user has old format
tables_priv was not reset on FLUSH PRIVILEGES if tables_priv was empty
Portability fixes for Windows
2003-01-18 16:39:21 +02: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
monty@mashka.mysql.fi
803dff1002
Merge with 4.0.8
2003-01-06 02:04:52 +02:00
monty@mashka.mysql.fi
6d5ad61a11
Added support for max_allowed_packet in option files read by mysql_option()
...
Extended max_allowed_packet for clients to 1G
Fixed bug in sending compressed rows >= 16M
Fix bug in skiping too long packets from clients.
Added checking of wrong command number sent by client.
2003-01-04 15:17:16 +02:00
venu@myvenu.com
df2678db29
Prepared statements + binary protocol test update
2003-01-03 23:38:47 -08:00
monty@mashka.mysql.fi
d3eb993a27
rename of net_pkg.cc to protocol.cc
...
Class for sending data from server to client (Protocol)
This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
2002-12-11 09:17:51 +02:00
serg@serg.mysql.com
b385eb4a05
removed redundant -I include-dirs
2002-11-26 14:01:08 +01: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
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
monty@mashka.mysql.fi
97bb57f765
Extended WEEK() to be able to handle ISO weeks.
...
unlink socket file if mysqld dies on startup
Some optimization of AND expressions
2002-11-12 12:42:42 +02:00
monty@mashka.mysql.fi
bae4af8a4f
Fixed missing table_list->name -> table_list->alias convert
2002-10-08 17:58:43 +03:00
monty@mashka.mysql.fi
0f39457613
Merge with 4.0.4
2002-10-02 17:55:12 +03: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
monty@mashka.mysql.fi
9c123d0c0b
Don't give the anonymous user create temp table or lock tables privileges.
...
SET PASSWORD=... closed connection on error.
2002-09-22 18:02:39 +03:00
monty@mashka.mysql.fi
378d977d28
Merge with 3.23.53
2002-09-22 10:59:33 +03:00
monty@mashka.mysql.fi
755d4952af
Change name -> alias in TABLE_LIST.
...
Added missing mutex-lock around critical section in GRANT handling.
2002-09-21 21:36:23 +03:00
monty@narttu.mysql.fi
7134ffec21
Merge with 4.0.3
...
Some simple optimzations, more comments and indentation changes.
Add ` around database in 'use database' in binary log.
Moved max_error_count and max_warning_count to variables struct.
Removed SHOW_WARNS_COUNT and SHOW_ERRORS_COUNT calls.
Changed string functions to use character set of first string argument as default return characterset
(Each string function can change the above assumption if needed)
2002-08-30 12:40:40 +03:00
peter@mysql.com
684bf18e4d
Arjens LOG functions changes with small changes and tests added to mysql-test
2002-07-17 12:11:48 +04: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