Commit graph

1356 commits

Author SHA1 Message Date
Sinisa@sinisa.nasamreza.org
d7a23f28c4 Some changes in multi-table deletes, with some speed-ups and
incorporations of the new stuff.

When Monty approves / corrects it, I will "port" it to multi-table
updates.
2002-01-12 19:51:10 +02:00
monty@tik.mysql.fi
7dd4eb71fe Added support of null keys in HEAP tables
Added ORDER BY optimization
2002-01-12 15:42:54 +02:00
bell@sanja.is.com.ua
11920dbbe7 New result block allocation strategy 2002-01-12 15:40:52 +02:00
miguel@light.local
558d88f977 Win32 Embedded Server Changes 2002-01-09 05:38:48 -02:00
Sinisa@sinisa.nasamreza.org
b89458e8f6 A small fix for a VERY small Monty's bug ... 2002-01-08 20:17:54 +02:00
bell@sanja.is.com.ua
f9d091d16f Typo fixing 2002-01-08 08:48:05 +02:00
bell@sanja.is.com.ua
7bef26f192 TODO reorganization 2002-01-08 08:38:33 +02:00
monty@hundin.mysql.fi
47408baac6 Make query cache code independent of the MYSQL_SERVER define.
This fixes the query cache problem on windows.
2002-01-06 14:21:43 +02:00
monty@hundin.mysql.fi
ff17389116 Fix for FLUSH QUERY CACHE
Fix for new bug in CREATE TABLE when sorting keys.
2002-01-05 22:51:42 +02:00
serg@serg.mysql.com
5f1599e4b4 merged 2002-01-03 20:00:45 +00:00
serg@serg.mysql.com
ef8436beff BIT_LENGTH ODBC function 2002-01-03 19:47:14 +00:00
monty@hundin.mysql.fi
a9de2c14a0 Some small fixes to the query cache. 2002-01-03 19:04:01 +02:00
serg@serg.mysql.com
8b97f20024 handler+alter table 2002-01-03 14:31:54 +00:00
monty@hundin.mysql.fi
2597b1aadd New CAST syntax
Cleanup of multi-table-delete in sql_yacc.yy
Changed syntax of MAXIMUM QUERIES PER HOUR to MAX_QUERIES_PER_HOUR to
not get too many reserved words.
2002-01-03 00:46:43 +02:00
monty@hundin.mysql.fi
b0ea238d2e merge 2002-01-02 22:02:03 +02:00
monty@hundin.mysql.fi
fd0459a521 merge with 3.23 2002-01-02 21:34:12 +02:00
monty@hundin.mysql.fi
4b877e0088 Added macros for nice TIMESPEC usage.
Fixes for building MySQL with gcc 3.0
Added SIGNED / UNSIGNED casts
Fixed core dump bug in net_clear() with libmysqld.
Back to using semaphores in query cache.
Added 'Null' and 'Index_type' to SHOW INDEX.
2002-01-02 21:29:41 +02:00
bell@sanja.is.com.ua
dbf8f3c32f fixing query cache validator 2002-01-02 17:55:10 +02:00
miguel@light.local
d4a8e8d61e Minors changes for the Windows 3.23.47 release 2001-12-30 00:22:01 -02:00
Sinisa@sinisa.nasamreza.org
1e3bd84217 DATE,TIME and DATETIME SQL typecasts 2001-12-29 20:56:50 +02:00
Sinisa@sinisa.nasamreza.org
d82830c591 Code that had to be changed so that CREATE ... SELECT ... always
creates proper column types, out of any function, expression or from
other tables.
2001-12-29 15:15:51 +02:00
monty@hundin.mysql.fi
ac8155cce1 Portability fixes 2001-12-27 13:31:10 +02:00
monty@hundin.mysql.fi
14e07aabda Merge work:/home/bk/mysql into hundin.mysql.fi:/my/bk/mysql 2001-12-27 02:05:12 +02:00
monty@hundin.mysql.fi
2bd8bf31bd Bugfix for WHERE key=@a OR key=@b 2001-12-27 02:04:27 +02:00
Sinisa@sinisa.nasamreza.org
1cef60bff6 Woooo....
Now everything compiles and all tests are passed .... ;o)

What a push !
2001-12-26 18:33:51 +02:00
Sinisa@sinisa.nasamreza.org
17d94da96d Accomodating Monty's changes from MULTI_DELETE to DELETE_MULTI 2001-12-26 17:55:24 +02:00
Sinisa@sinisa.nasamreza.org
4ed4546004 Changes for the BitKeeper resolve.
One more notice:

limiting number of queries per hour for different users has been done
on 4.0.1 , but I can port it to 3.23.* 

This will require only certain changes, like number of columns in user
table.

I will also make a test case for it, after it is approved by Monty, 
as result file will depend on the error message text.
2001-12-26 17:42:06 +02:00
Sinisa@sinisa.nasamreza.org
038db406c1 This is a large push. Included are :
* multi-table updates
* new paid feature for limiting number of queries per hour for users
* optional syntax for multi-table deletes
* optimization for SQL_CALC_FOUND_ROWS
* a small addition for CREATE .. SELECT that will be of future use

I know that all this will require many additions to documentation, 
which I have not done, but I am at Arjen's disposal to help him document
all this.
2001-12-26 16:49:10 +02:00
heikki@donna.mysql.fi
3fef3c7e5b mysqld.cc:
Changed default of file_io_threads to 4 and lock_wait_timeout to 50 seconds
  Added a missing break: if not specified, innodb_fast_shutdown got the same value as ..flush_log_at_trx commit
2001-12-25 23:44:41 +02:00
heikki@donna.mysql.fi
954920c874 ha_innobase.cc:
Increase table comment print size to 500 bytes to be able to print more foreign key constraint infos
ha_innobase.h:
  Change max key len back to 500 bytes because MySQL interpreter cannot handle more
2001-12-23 13:06:48 +02:00
monty@hundin.mysql.fi
a3a93da68a Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-23 02:44:28 +02:00
monty@hundin.mysql.fi
d2cae57402 Limit created keys to MAX_KEY_LENGTH.
Fix problem with query cache and database names
2001-12-23 02:43:46 +02:00
serg@serg.mysql.com
6591bd0d8a Merge work:/home/bk/mysql-4.0
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-12-22 19:13:53 +00:00
serg@serg.mysql.com
a72bc0079f HANDLER CLOSE unknown table should produce an error 2001-12-22 18:40:26 +00:00
monty@hundin.mysql.fi
95a3bfac1d Fix compiler warning 2001-12-22 19:08:57 +02:00
monty@hundin.mysql.fi
f13741c8d3 Merge hundin.mysql.fi:/my/mysql-3.23
into hundin.mysql.fi:/my/bk/mysql-4.0
2001-12-22 15:47:23 +02:00
monty@hundin.mysql.fi
3eda53fb34 Fix for error message when using HANDLER OPEN on InnoDB tables. 2001-12-22 15:44:44 +02:00
monty@hundin.mysql.fi
9e9e765fbd Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2001-12-22 15:14:41 +02:00
monty@hundin.mysql.fi
9e1ed2e4dc Fixed access privilege bug in query cache.
Change tests to use database 'mysqltest' instead of 'foo'
Add option to not print access denied messages to check_table_access()
2001-12-22 15:13:31 +02:00
heikki@donna.mysql.fi
0b39319672 ha_innobase.h:
Lower max key len to 3500 bytes because a secondary index record must also contain the primary key value
2001-12-22 11:18:22 +02:00
heikki@donna.mysql.fi
636d7b9967 ha_innobase.cc:
Make sure no memory overrun of key buffer in range estimation
2001-12-22 02:29:23 +02:00
serg@serg.mysql.com
ed74119ee2 Merge 2001-12-21 13:38:06 +00:00
serg@serg.mysql.com
b83bf332d0 HANDLER works only with MyISAM tables
HA_NO_FULLTEXT_KEY property -> HA_CAN_FULLTEXT
2001-12-21 13:28:51 +00:00
monty@hundin.mysql.fi
55a2ab6e7e Cleanup of alarm macros.
Fixed data corruption bug in query cache.
Made queries be dependent of the database in use.
2001-12-21 07:00:58 +02:00
monty@hundin.mysql.fi
05a3c0e8f6 Fixed shutdown problem on HPUX 2001-12-21 06:54:58 +02:00
monty@hundin.mysql.fi
f5a1abd861 merge 2001-12-20 13:52:04 +02:00
monty@hundin.mysql.fi
0eb46e4256 Fix insert delated + query cache.
Fix pthread_mutex_trylock on HPUX (needed for query cache).
2001-12-20 06:14:11 +02:00
monty@hundin.mysql.fi
1a4ac20bf9 Fixed bug in FLUSH QUERY CACHE
Changed 'send_file_to_server' to use less stack (Fixed replication problem on OSF1).
2001-12-19 15:45:04 +02:00
sasha@mysql.sashanet.com
7b672bc92c make replication work correctly if the master logs SELECT RELEASE_LOCK()
instead of DO RELEASE_LOCK()
2001-12-18 21:56:36 -07:00
heikki@donna.mysql.fi
818bdb62f5 ha_innobase.cc:
Add better instructions on how to specify innodb_data_file_path etc.
2001-12-18 19:35:28 +02:00