monty@mashka.mysql.fi
0f39457613
Merge with 4.0.4
2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
a748b35ddd
merge with work
2002-10-02 13:45:16 +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
bar@bar.mysql.r18.ru
d1d725c5a1
SHOW TABLE STATUS now displays table charset as well
2002-10-01 13:54:59 +05: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@mashka.mysql.fi
cb8580a2cd
Changed table_list->name -> table_list->alias to find places where we where using alias instead of table_name.
...
This should fix some issues where --lower-case-table-names doesn't work properly under windows.
2002-09-20 14:05:18 +03:00
hf@genie.(none)
c8627ff18d
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into genie.(none):/home/hf/work/mysql-4.1
2002-09-17 10:50:25 +05:00
monty@mashka.mysql.fi
c85c33a5c1
Added CREATE TEMPORARY TABLES and LOCK TABLES to db and host tables
...
Fixed bug in SELECT ... ORDER BY ... LIMIT
Fixed bug in ALTER TABLE and RENAME TABLE with --lower-case-table-names
Fixed hang when using --with-openssl
2002-09-16 15:55:19 +03:00
bar@bar.mysql.r18.ru
c361923f34
"SHOW CHARACTER SET" now displays 1 for 8bit charsets in "mb_maxlen" column.
...
0 was dispayed before, this looked confusing.
2002-09-05 21:55:26 +05: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
monty@hundin.mysql.fi
c99c1fd384
Changed IF(expr, column, NULL) to take type from column
...
Fixed some windows portability problems and removed some compiler warnings
Cleaned up QUOTE() function and fixed bug in \0 and \Z handling.
2002-08-12 03:33:46 +03:00
monty@hundin.mysql.fi
1a264ceb34
Reverted Heikkis patch as his was not portable.
...
Remove not needed locks in SHOW OPEN TABLES
2002-08-08 21:43:46 +03:00
monty@hundin.mysql.fi
087261482a
merge with 3.23.52
2002-08-08 15:24:47 +03:00
monty@narttu.mysql.fi
c0a6890292
Added some missing mutex_locks() when manipulating the table cache.
...
This should fix some possible table cache corruptions when doing
OPTIMIZE or REPAIR table when other threads are opening new tables.
2002-08-05 18:50:38 +03:00
hf@bisonxp.(none)
253c641900
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into bisonxp.(none):/home/hf/work/mysql-4.1
2002-08-03 20:26:44 +05:00
bar@bar.udmsearch.izhnet.ru
6340c79c05
Renamed some charset related constant
...
New fields in CHARSET_INFO for more nice SHOW CHARACTER SET
Dynamic charsets are now handled in faster way
SHOW CHARACTER SET now displays not only compiled charsets but dynamic charsets too
2002-07-30 14:02:29 +05:00
monty@mashka.mysql.fi
dddc20d9d1
New SET syntax & system variables.
...
Made a some new buffers thread specific and changeable.
Resize of key_buffer.
AUTO_COMMIT -> AUTOCOMMIT
Fixed mutex bug in DROP DATABASE
Fixed bug when using auto_increment as second part of a key where first part could include NULL.
Split handler->extra() to extra() and extra_opt() to be able to support thread specific buffers.
Don't write message to error log when slave reconnects becasue of timeout.
Fixed possible update problem when using DELETE/UPDATE on small tables
(In some cases we used index even if table scanning would be better)
A lot of minior code cleanups
2002-07-23 18:31:22 +03:00
hf@bisonxp.(none)
d8c94e942b
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into bisonxp.(none):/home/hf/work/mysql-4.1
2002-07-09 10:42:24 +05:00
jani@rhols221.adsl.netsonic.fi
7cad1f9313
Added interface for first set of dynamic variables.
2002-06-28 19:30:09 +03:00
bar@gw.udmsearch.izhnet.ru
6f5f47855a
Default table character set has been added:
...
CREATE TABLE a (field,...) TYPE=type CHARSET=cset;
2002-06-19 21:21:30 +05:00
hf@bison.(none)
cc6407f1a5
Resolving of conflicts from pull
2002-06-17 17:14:20 +05:00
hf@bison.(none)
ede6ba5621
Removing net emulation out of embedded library
2002-06-17 16:24:51 +05:00
venu@myvenu.com
5a33842a16
sql_error.cc, sql_prepare.cc:
...
new file
Client-server protocol 4.1 changes - Server side:
* Enhanced metadata information:
- SHOW [COUNT(*)] ERRORS [LIMIT [offset,] rows]
- SHOW [COUNT(*)] WARNING [LIMIT [offset,] rows]
- SHOW TABLE TYPES
- SHOW PRIVILEGES
- SHOW COLUMN TYPES (Not fully implemented)
* Prepared execution
* Long data handling in pieces
* And other misc changes
2002-06-12 14:13:12 -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
bar@gw.udmsearch.izhnet.ru
e8571e68bb
New command: SHOW CHARACTER SET [LIKE 'wild']
2002-06-11 17:40:06 +05: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
ee6bd84880
Changes for new binary .frm format
...
Fixes after last merge from 4.0.
(Code not yet complete, need anoter merge from 4.0)
2002-06-04 08:23:57 +03:00
monty@hundin.mysql.fi
f0b28da6f9
merge with 4.0
2002-06-03 12:59:31 +03:00
monty@hundin.mysql.fi
6e54cc492c
Extension of .frm file (not yet ready for push)
2002-06-02 21:22:20 +03:00
monty@hundin.mysql.fi
544f95c451
merge with 3.23
2002-06-02 20:46:03 +03:00
monty@hundin.mysql.fi
e2a116411e
Portability fixes for SCO and HPUX
...
Change TRUNCATE(number) to truncate towards zero for negative numbers
Fix NULL handling for DESCRIBE table_name
2002-05-31 15:22:38 +03:00
bar@gw.udmsearch.izhnet.ru
196aa19cf6
Now string values are created and filled with charset field
...
SELECT func(charset2) FROM t ORDER BY 1 works in correct charset
2002-05-17 16:29:52 +05:00
monty@hundin.mysql.fi
727122aadd
merge
2002-04-25 01:16:42 +03:00
monty@tik.mysql.fi
f94d84a9ec
SHOW VARIABLES LIKE ... are now case insensitive
...
Fixed stack overflow checking with crash-me with gcc 3.0.4
Using @@unknown_variable doesn't hang client anymore
Added @@VERSION variable
2002-04-18 18:24:14 +03:00
bar@gw.udmsearch.izhnet.ru
cf5e0d3394
Fix to use Monty's changes in frm format
...
Enable latin1 by default
2002-04-18 14:08:38 +05:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
monty@tik.mysql.fi
056175a1ce
Update for BTREE keys in HEAP tables
...
Split handler->option_flag() to handler->table_flags() and handler->index_flags()
2002-04-12 21:35:46 +03:00
monty@hundin.mysql.fi
727e507bca
merge with 3.23.50
2002-03-27 01:56:10 +02:00
heikki@hundin.mysql.fi
1f142262a1
sql_show.cc, handler.h, handler.cc:
...
Add foreign key defs to SHOW CREATE TABLE
2002-03-21 18:05:46 +02:00
bar@gw.udmsearch.izhnet.ru
b37ce8e769
New ctype functions/macros to support many charsets at a time
2002-03-12 21:37:58 +04:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04:00
monty@hundin.mysql.fi
be46289855
New error messages
...
Test of unsigned BIGINT values
Fixes for queries-per-hour
Cleanup of replication code (comments and portability fixes)
Make most of the binary log code 4G clean
Changed syntax for GRANT ... QUERIES PER HOUR
2002-01-29 18:32:16 +02:00
sasha@mysql.sashanet.com
684f13ef4c
Ugly merge! But I am not done yet - there are a number of things I need to fix
...
before I can push
2002-01-19 22:46:25 -07:00
sasha@mysql.sashanet.com
56129ce634
Here comes a nasty patch, although I am not ready to push it yet. I will
...
first pull, merge,test, and get it to work.
The main change is the new replication code - now we have two slave threads
SQL thread and I/O thread. I have also re-written a lot of the code to
prepare for multi-master implementation.
I also documented IO_CACHE quite extensively and to some extend, THD class.
2002-01-19 19:16:52 -07: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
monty@hundin.mysql.fi
0c0a170fa7
Fix that SHOW STATUS works with SSL.
...
Add 4.0 commands to SHOW STATUS.
2001-12-13 22:03:09 +02:00
monty@hundin.mysql.fi
1de4fff5ba
Update of query cache code.
...
Changed some sql_alloc() -> thd->alloc()
Removed a lot of compiler warnings on Linux Alpha (64 bit)
Fixed some core dumps on 64 bit systems (wrong type for packet_len)
2001-12-05 13:03:00 +02:00
sasha@mysql.sashanet.com
9b163ef5ae
got the last changeset to compile/run
...
mysqltest can run without connecting to the manager for tests that do not
require manager operations
2001-10-10 15:36:35 -06:00
sasha@mysql.sashanet.com
d7c47dcf86
Added rpl_status. This is a midway commit to be able to pull so I can save
...
myself a run of compile-pentium-debug. I have not even tried to compile the
new code
2001-10-09 20:56:24 -06:00
monty@hundin.mysql.fi
196f620e90
Portability fixes + a couple of bug fixes introduced by last push.
2001-10-08 23:20:19 +03:00
monty@hundin.mysql.fi
d28f23c14f
Fixed bug in INSERT DELAYED
...
Fixed some problems in SHOW CREATE TABLE
Fixed calculation of checksums in myisamchk
2001-10-02 21:08:08 +03:00
monty@hundin.mysql.fi
2350609bce
Fixed that SHOW CREATE TABLE shows all attributes
2001-09-30 05:47:35 +03:00
tonu@volk.internalnet
5658ff8237
SSL compiles and works as far as can see. Continue testing..
2001-09-30 10:46:20 +08:00
monty@hundin.mysql.fi
e390a99573
Added support of INSERT to MERGE tables
...
Fixes for embedded libary and openssl
2001-09-22 17:40:57 +03:00
monty@hundin.mysql.fi
7cadc6e711
Changed to use my_global.h
...
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
2001-09-14 02:54:33 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
tonu@x153.internalnet
921cae2c5c
SSL fixes
2001-09-01 05:18:01 +08:00
monty@hundin.mysql.fi
788bc3f43b
Fixed that LOAD DATA INFILE works with transactions.
...
Fix for lower case filenames
2001-08-28 06:43:55 +03:00
tonu@x153.internalnet
43b6138a45
OpenSSL changes
2001-08-27 03:34:52 +08:00
monty@hundin.mysql.fi
59e7c97dab
Remove warnings and portability fixes
...
New global read lock code
Fixed bug in DATETIME with WHERE optimization
Made UNION code more general.
2001-08-14 20:33:49 +03:00
sasha@mysql.sashanet.com
7267133886
merged
2001-08-11 17:28:41 -06:00
monty@hundin.mysql.fi
e7575da7bb
Portability fixes
...
Added record_rnd_buffer
Added --safe-user-create
Fix for ALTER TABLE RENAME on windows
2001-08-10 17:37:37 +03:00
monty@tik.mysql.fi
b13d453d50
Fix UNION
...
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
2001-08-02 06:29:50 +03:00
sasha@mysql.sashanet.com
b5f76be024
merged with 3.23
2001-07-17 16:23:36 -06: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@tik.mysql.fi
f2b26ffb31
Final fix for bad merge
2001-07-11 10:49:27 +03:00
monty@tik.mysql.fi
5d58a49f50
Merge work.mysql.com:/home/bk/mysql-4.0
...
into tik.mysql.fi:/home/my/mysql-4.0
2001-07-11 10:37:33 +03:00
monty@tik.mysql.fi
539541c51e
Added back old code that Sasha removed
2001-07-11 10:36:22 +03:00
serg@serg.mysql.com
db4a860203
cleanups
2001-07-10 20:23:37 +02:00
monty@tik.mysql.fi
1e6fe8f10e
merge
2001-07-10 16:09:15 +03:00
monty@tik.mysql.fi
fc81fdb4ba
Redefinition of myisam_bulk_insert_tree_size
...
Removed new error message
Fixed test case for varbinary
Threads are again killable in "merge_buffers"
Cleanup of sql_repl.cc
SHOW OPEN TABLES now works when no tables are opened
2001-07-10 15:53:08 +03:00
sasha@mysql.sashanet.com
27561841d1
merged latest changes in 3.23
2001-07-07 15:35:23 -06:00
monty@tik.mysql.fi
19a99dd3fd
dded volatile to replication variable
2001-07-07 23:26:06 +03:00
monty@work.mysql.com
7f68199648
merge
2001-06-21 11:03:54 +02:00
monty@hundin.mysql.fi
11e567229a
UNIQUE keys are not anymore shown as PRIMARY KEY
2001-06-21 10:50:14 +03:00
sasha@mysql.sashanet.com
7c9b9f471c
Merged with 3.23, needs further fix-up
2001-05-10 15:06:35 -06:00
monty@donna.mysql.fi
21e7c668ff
Portability fixes for Ia64 and Sgi compiler
...
DROP DATABASE in mysqladmin asks for confirmation (again)
Added examined_rows to slow query log
SHOW CREATE for TEMPORARY table
2001-04-25 22:44:27 +03:00
monty@work.mysql.com
8f62579c38
Added all changes from old 4.0 version:
...
PSTACK, libmysqld and MySQL filesystem
UPDATE ... ORDER BY
DELETE ... ORDER BY
New faster fulltext handling
Faster compressed keys
2001-04-11 13:04:03 +02: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.com
c533308a15
Added Innobase to source distribution
2001-02-17 14:19:19 +02:00
tfr@coyote.emotion.ee
6099884a92
mysqldump.c Fix to add space between index name and column definition in CREATE TABLE statement
...
sql_show.cc Fix to add space in SHOW CREATE TABLE between index name and column definitions
2001-02-13 08:43:14 +02:00
monty@donna.mysql.com
2d1082308b
SHOW [FULL] COLUMNS
...
Added timeouts to replication tests to handle concurrent inserts
2001-01-22 05:32:58 +02:00
monty@donna.mysql.com
0f28f7a414
keep bk happy
2001-01-22 04:46:32 +02:00
monty@donna.mysql.com
a12c1ffb9a
--safe-show-db and have_xxx variables
2000-12-26 17:34:04 +02:00
monty@donna.mysql.com
6ba7c07ce2
merge
2000-12-24 15:22:33 +02:00
monty@donna.mysql.com
b590fa2567
New benchmark test
...
Fixed bug in REPLACE with BDB tables
Prepare for write lock on read for BDB
Inform the handler when we want to use IGNORE / REPLACE
New manual pages
2000-12-24 15:19:00 +02:00
serg@serg.mysql.com
74d4eb53a0
sql_show.cc added RAID_* options to SHOW CREATE output
2000-12-22 12:25:49 +01:00
tim@cane.mysql.fi
1154dace3f
Merge
2000-12-18 23:34:51 +02:00
tim@cane.mysql.fi
5fdf032769
Added SHOW OPEN TABLES. Thanks to Antony T Curtis <antony@abacus.co.uk>
...
for the code.
2000-12-18 23:22:20 +02:00
monty@donna.mysql.com
155823ad51
Lots of new benchmark runs
...
Remember filename for temporary files created with mkstemp
Fixed wrongly allocated BDB share structure
Cleanups for SunPRO
2000-12-18 16:09:19 +02:00
tim@cane.mysql.fi
b13b08fd21
Make mysqld_show_logs work without HAVE_BERKELEY_DB.
2000-12-15 18:01:17 +02:00
tim@cane.mysql.fi
7bff1dd4db
Add SHOW LOGS command.
2000-12-15 13:18:52 +02:00
serg@serg.mysql.com
08f3c65152
sql_show.cc FULLEXT comment in SHOW KEYS
2000-11-29 21:25:22 +01:00
monty@donna.mysql.com
08a2c58ed1
Fixed bug in 'drop table'
...
Portability fixes
2000-11-29 05:09:28 +02:00
sasha@mysql.sashanet.com
74fbeabbf8
client/mysqltest.c
...
generate a bigger reject file ( full in most cases) if the master result file is 0 length
sql/sql_show.cc
fixed 3 bugs in SHOW CREATE TABLE
New test case shw000001 for SHOW CREATE TABLE bugs
2000-11-21 16:41:29 -07:00
monty@donna.mysql.com
a67ff1bf08
Update of interface for BDB tables.
...
Fixed bug in SHOW CREATE TABLE
2000-10-24 02:39:54 +03:00
serg@serg.mysql.com
0a050cf464
SET OPTION SQL_QUOTE_SHOW_CREATE = 0 | 1
...
It makes SHOW CREATE TABLE to quote table and column names.
This is ON by default !
2000-10-10 21:31:00 +02:00
monty@donna.mysql.com
b55de19ed2
Portability fixes
2000-10-04 23:20:16 +03:00
monty@donna.mysql.com
02fd65b970
Fixed indention, removed compiler varnings and fixed a bug
...
in FULLTEXT indexes.
2000-09-29 00:58:16 +03:00
serg@infomag.ape.relarn.ru
7b026ca7d7
sql_show.cc SHOW CREATE now return nicely formatted statement
2000-09-01 15:24:36 +04:00
serg@infomag.ape.relarn.ru
980e911343
sql_select.cc ft-optimization: AND, GT/LT/GE/LE
...
sql_select.cc EXPLAIN fulltext
Makefile.am CLEANFILES corrected
sql_show.cc SHOW CREATE now displays FULLTEXT keys properly
2000-08-29 19:44:22 +04:00
monty@donna.mysql.com
d564acf14e
Fixes for Ia64
2000-08-23 15:02:27 +03:00
monty@donna.mysql.com
f0952ce3e1
FLUSH TABLE table_list
...
Fixes for RENAME TABLE
Portability fixes
2000-08-22 00:18:32 +03:00
monty@donna.mysql.com
aa3580924b
RENAME TABLE table_name TO new_table_name ; Faster Alloc
...
Small bug fixes
2000-08-21 03:00:52 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00