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
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
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
monty@mashka.mysql.fi
b8421d34ec
Added the following new privleges:
...
SHOW DATABASES
CREATE TEMPORARY TABLE
LOCK TABLES
REPLICATION SLAVE & REPLICATION CLIENT
SUPER
EXECUTE
All scripts & documentation is updated for this change.
Added better error messages for global privileges
2002-06-12 15:04:18 +03:00
monty@mashka.mysql.fi
2aecdd1a91
Big code cleanup/review before 4.0.2 release.
...
(All commit emails since 4.0.1 checked)
This had to be done now, before the 4.1 tree changes to much, to make it easy to propagate bug fixes to the 4.1 tree.
2002-06-11 11:20:31 +03:00
monty@hundin.mysql.fi
1815e2dee0
Fixed privilege check problem with SELECT ... INTO OUTFILE
2002-06-09 09:14:25 +03:00
monty@hundin.mysql.fi
b0aa96dd81
Fixed mutex problem in TRUNCATE TABLE
2002-06-04 22:59:12 +03:00
jani@hynda.mysql.fi
3682df45e1
New version of mail_to_db.pl
2001-12-27 16:23:46 +02:00
jani@hynda.mysql.fi
f17e1946d0
Made new version of mail_to_db.pl
2001-12-27 15:37:45 +02:00
jani@hynda.mysql.fi
b1291364cb
Fixed a bug in mail_to_db.pl
2001-12-19 22:40:17 +02:00