Commit graph

810 commits

Author SHA1 Message Date
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
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
monty@hundin.mysql.fi
9ca9fc2283 Fix for MyISAM records > 16M 2001-12-11 20:45:48 +02:00
monty@hundin.mysql.fi
7c3f8447c0 Extended manual section about MySQL states 2001-11-28 22:47:58 +02:00
monty@hundin.mysql.fi
0bfec316ce Don't do signal() on windows (Causes instability problems)
Safer, a bit faster filesort.
Code changes to avoid calls to current_thd() (faster code).
Removed all compiler warnings from readline.
2001-10-17 19:39:39 +03:00
monty@hundin.mysql.fi
aecef7614e Removed wrong warning from thr_lock
Fixed problem with UPDATE and BDB tables
Fixed problem with GRANT FILE privilege on database level
mysqld --warnings works now
Fixed problem with SHOW OPEN TABLES when not using BDB
Added some tests for ALTER TABLE to the test scripts
2001-07-17 21:04:01 +03:00
monty@hundin.mysql.fi
4014d2367c Added ABS() to make tests more portable.
New postgresql crash-me file.
Increased blob size in benchmarks from 65K to 1M.
2001-06-03 12:26:24 +03:00
monty@donna.mysql.fi
b897f84d74 Changes to get mysqld-max to compile 2001-04-13 16:21:38 +03:00
monty@donna.mysql.fi
8700c02dae Changed Innobase to Innodb
Deleted a lot of old benchmark runs
2001-04-13 12:25:12 +03:00
jani@janikt.pp.saunalahti.fi
ae5ee2d2d5 Small fix to mail_to_db.pl 2001-04-06 06:09:08 +03:00
jani@janikt.pp.saunalahti.fi
655688d829 Added --stdin option to mail_to_db.pl 2001-04-06 05:26:36 +03:00
monty@donna.mysql.fi
4c20a8e59e Removed deleted tests 2001-04-02 20:18:36 +03:00
monty@donna.mysql.fi
9ea338ac3f Added INNODB as a synonym for INNOBASE
Fixed bug where FLUSH TABLES could make indexes unavailable for the next query
Added --skip-safemalloc
2001-04-02 01:45:24 +03:00
monty@donna.mysql.fi
65822120f5 Fixed bug in ALTER TABLE
Removed _mi_rkey() function
New fork_big.pl multi-thread test
2001-04-01 13:45:48 +03:00
monty@donna.mysql.fi
5487d7a8c0 Fixed bug in send in mysqltest
Removed usage of @r/result as this made life hard when testing different
table handlers.
Allow concurrent inserts if no update/binary log.
Don't remove key_cache at flush tables.
Fixed bug in SELECT DISTINCT SUM()...
2001-03-25 01:02:26 +02:00
monty@donna.mysql.fi
267c8760cb Fixed wrong option in mysql_install_db
Added delayed_user for delayed_threads
Don't use record cache when doing deletes
2001-03-09 03:38:18 +02:00
monty@donna.mysql.com
9c80d5cb70 Patches for NetBSD/macppc
Fixed bug in LEFT JOIN
Added bdb_log_buffer_size
2001-01-12 13:52:32 +02:00
jani@prima.mysql.fi
8594820fd6 New version of mail_to_db.pl 2000-12-16 05:56:46 +02:00
sasha@mysql.sashanet.com
f7649635a1 sql/slave.cc
fixed typo in the error message
sql/sql_base.cc
    fixed bugs in reopen_name_locked_table() after talking to Monty

added a test case for restore + select
2000-09-19 17:23:58 -06:00
monty@donna.mysql.com
306640e274 Updates for release 2000-08-29 19:38:32 +03:00
monty@donna.mysql.com
066d55c0c0 Bug fixes for 3.23.23 2000-08-29 12:31:01 +03:00
monty@donna.mysql.com
a753a3a2ce Updated benchmark and results for PostgreSQL 7.0.2
Added more status to the MyISAM files to avoid checking files that
has already been checked.
2000-08-18 12:48:00 +03:00
bk@work.mysql.com
f4c589ff6c Import changeset 2000-07-31 21:29:14 +02:00