jani@hynda.(none)
6112e67d64
Added error in case auto_increment and default where defined
...
at the same time.
2003-03-22 19:55:09 +02:00
monty@narttu.mysql.fi
68ca84dbd1
Print right hostname or IP in SHOW PROCESSLIST
...
Use SESSION TABLE_HANDLER as default table handler if given table handler doesn't exists
2003-03-19 21:43:41 +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
a6482b1304
Code cleanup
2003-03-15 04:34:06 +02:00
monty@mashka.mysql.fi
5ee1dbbe58
Check for empty table/column names
2003-03-14 17:08:42 +02:00
Sinisa@sinisa.nasamreza.org
51e5344dfe
Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.0
...
into sinisa.nasamreza.org:/mnt/work/mysql-4.0
2003-03-12 14:48:00 +02:00
monty@mashka.mysql.fi
47ec22d83f
Fix for replication of INSERT | REPLACE | CREATE ... SELECT
2003-03-12 07:51:08 +02:00
Sinisa@sinisa.nasamreza.org
717455ba26
A fix for privilege checking bug.
2003-03-10 16:58:07 +02:00
serg@serg.mysql.com
b755a87fb1
missing grant check added
2003-03-07 11:55:07 +01:00
bell@sanja.is.com.ua
80236063a1
merging
2003-02-27 19:38:39 +02:00
lenz@mysql.com
8a272349b9
Applied Sinisa's patch:
...
"A fix for non-releasing locks for multi table updates and multi
table deletes with InnoDB tables."
2003-02-19 15:08:29 +01:00
lenz@mysql.com
7a6d8edfd7
Applying Sinisa's patch:
...
"Cleaning the code of the remaining OLAP code.
This code is unnecessary in 4.1/5.0"
2003-02-19 14:58:44 +01:00
bell@sanja.is.com.ua
352a338147
client port number added to SHOW PROCESSLIST (SCRUM?)
2003-02-17 22:07:26 +02:00
monty@mashka.mysql.fi
cf9668fd37
Added START TRANSACTION syntax
...
Added ALL as parameter option for all group functions.
Make join handling uniform. This allows us to use ',', JOIN and INNER JOIN the same way.
Sort NULL last if DESC is used (ANSI SQL 99 requirement)
2003-02-06 16:55:59 +02:00
monty@mashka.mysql.fi
9e3fd09305
merge with 3.23.56 to get patches for --lower-case-table-names and
...
proper handling of SUM() in some functions.
2003-01-29 19:22:22 +02:00
monty@mashka.mysql.fi
d88eb71f34
Fixed handling of lower_case_table_names in SHOW TABLE STATUS, mysql_list_fields() and mysql_table_dump().
...
This fixes some Errcode 13 errors on Windows when deleting tables.
2003-01-29 18:56:34 +02:00
monty@mashka.mysql.fi
6b71279382
merge
2003-01-28 09:02:51 +02:00
monty@mashka.mysql.fi
689578a099
Fixes for Netware
...
Call pthread_mutex_destroy() on not used mutex.
Changed comments in .h and .c files from // -> /* */
Added detection of mutex on which one didn't call pthread_mutex_destroy()
Fixed bug in create_tmp_field() which causes a memory overrun in queries that uses "ORDER BY constant_expression"
Added optimisation for ORDER BY NULL
2003-01-28 08:38:28 +02:00
Administrador@light.
826993bba2
Added option hostname.err
2003-01-27 15:37:25 -02:00
monty@mashka.mysql.fi
1bdd1d0626
Merge with 3.23.55
2003-01-25 15:31:07 +02:00
monty@mashka.mysql.fi
fa7a94ed14
Added timeout for wait_for_master_pos
...
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used.
2003-01-25 15:07:51 +02:00
serg@serg.mysql.com
f028989bad
fixed double-free bug in COM_CHANGE_USER
2003-01-21 16:07:31 +01:00
monty@mashka.mysql.fi
fb4572a498
Merge with 3.23 to get bug fix for SHOW PROCESSLIST + running thread
2003-01-19 01:31:43 +02:00
monty@mashka.mysql.fi
dd4d4cc8b5
Only set thd->query to 0 if LOCK_thread_count is hold
...
This fixes a possible core dump problem in SHOW PROCESSLIST
2003-01-18 23:38:55 +02:00
monty@mashka.mysql.fi
3c08da957e
Don't count NULL values in cardinalty for MyISAM tables.
...
Free row buffer cache after each query for MyISAM tables.
Added table join option FORCE INDEX
Fixed core dump bug when connecting with hostname that could not be resolved.
2003-01-09 02:19:14 +02:00
monty@mashka.mysql.fi
9ecf9645eb
A lot of portability fixes.
...
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
2003-01-05 20:18:49 +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
monty@mashka.mysql.fi
9a64d3a17c
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2003-01-02 16:26:26 +02:00
Sinisa@sinisa.nasamreza.org
66208fe9ae
Fixing some bugs in client - server protocol and adding a feature
...
that connection does not close in the case when client sends a
buffer larger then max_allowed_packet.
2003-01-02 16:21:22 +02:00
monty@mashka.mysql.fi
3ca695ea0b
Cut hostnames at HOSTNAME_LENGTH to avoid theoretical hostname overruns
...
Changed long packat handling to check for packets of length 0xffffff.
This does however break packet handling for older clients.
If you are using packets >= 16M then you need to upgrade client and server
after this patch.
2002-12-26 18:26:37 +02:00
monty@mashka.mysql.fi
b5aa9ae0c7
Changed thd variables max_join_size and select_limit to type ha_rows.
...
This fixed some optimization problems when using -DBIG_TABLES
Portabilty fixes for OpenUnix and HPUX
Added C and C++ version numbers to mysqlbug
2002-12-20 14:58:27 +02:00
monty@mashka.mysql.fi
a716ca2c45
Merge patch for LOCK TABLES and SLAVE STOP
2002-12-13 16:36:08 +02:00
monty@mashka.mysql.fi
3e655c8d1b
Forbid SLAVE STOP if the thread executing the query has locked
...
tables. This removes a possible deadlock situation.
2002-12-13 16:01:51 +02:00
monty@mashka.mysql.fi
e6c4399f64
RESET SLAVE and CHANGE MASTER will now give an error if slave is running.
...
This fixes a problem in replication where RESET SLAVE could crash a running slave.
2002-12-13 12:05:24 +02:00
serg@serg.mysql.com
6dfd1d867e
merged
2002-12-04 10:16:19 +01:00
serg@serg.mysql.com
9e61e636be
proper casting in COM_TABLE_DUMP (backported from 4.0)
2002-12-04 09:54:58 +01:00
serg@serg.mysql.com
33de7e55f9
Security bug: password length check should be in check_user, not check_connections(),
...
otherwise COM_CHANGE_USER is unprotected and can be used for both privilege escalation and buffer overrun
2002-12-04 00:27:09 +01:00
monty@mashka.mysql.fi
6603d75213
New multi-table-update code
...
New (simpler) internal timestamp handling.
More debuging to heap tables.
Small cleanups to multi-table-delete
false -> 0 and true -> 1 (We should use TRUE and FALSE)
2002-11-29 16:40:18 +02:00
monty@mashka.mysql.fi
1a96948e81
Small improvement to alloc_root
...
Add support for LIMIT # OFFSET #
Changed lock handling: Now all locks should be stored in TABLE_LIST instead of passed to functions.
Don't call query_cache_invalidate() twice in some cases
mysql_change_user() now clears states to be equal to close + connect.
Fixed a bug with multi-table-update and multi-table-delete when used with LOCK TABLES
Fixed a bug with replicate-do and UPDATE
2002-11-16 20:19:10 +02:00
Sinisa@sinisa.nasamreza.org
abec0225fc
small fix
2002-11-12 17:41:31 +02:00
monty@mashka.mysql.fi
876f3f4d30
Fixed that NULL and 0 returns 0 instead of NULL
...
This is coded to not cause a speed impact on top level AND expressions where we don't care if an AND expression returns 0 or NULL
2002-11-11 15:57:35 +02:00
monty@hundin.mysql.fi
aa4e165808
Portability fix extern "C" static -> extern "C"
2002-11-07 12:49:02 +02:00
monty@butch.
890b39bb68
merge
2002-11-07 12:49:01 +02:00
monty@hundin.mysql.fi
db6cbba239
Merge work:/my/mysql-4.0 into hundin.mysql.fi:/my/mysql-4.0
2002-11-07 04:03:44 +02:00
monty@hundin.mysql.fi
65badfff1a
Put temporary files in binlog cache when using BEGIN/COMMIT
...
Let MySQL 4.0 read 4.1 .frm files without 4.1 specific extensions
New variables @@rand_seed1 and @@rand_seed2 (used by replication)
DROP TEMPORARY TABLE
2002-11-07 04:02:37 +02:00
monty@butch.
a2bdf9265f
Portability fixes for Fortre C++ 5.0 (on Sun) in 32 and 64 bit modes.
2002-11-07 03:54:00 +02:00
gluh@gluh.(none)
98579955d6
Merge sgluhov@work.mysql.com:/home/bk/mysql-4.0
...
into gluh.(none):/home/gluh/mysql-4.0.bklast
2002-11-06 12:19:06 +04:00
gluh@gluh.(none)
7bf903ea10
Error code for ssl connection
...
Fix bug when server hang(with SSL, with modified libmysql)
Add options master-ssl-capath and master-ssl-cipher
Add some error checking(SSL)
2002-11-05 12:05:58 +04:00
monty@hundin.mysql.fi
2bcd60e113
Merge
2002-10-31 10:44:20 +02:00
monty@hundin.mysql.fi
1e0538324d
Added back old LARGEFILE handling
...
Fixed reference to freed memory in acl_init()/grant_init()
Fixed possible memory leak. (Could only happen in very strange circumstances)
Fixed bug in ALTER TABLE with BDB tables
Updated mysql-test for valgrind
2002-10-29 21:59:03 +02:00