vva@eagle.mysql.r18.ru
293f27df35
fixed processing of COM_BINLOG_DUMP to use in mysqlbinlog
2003-09-29 15:42:33 -04:00
guilhem@mysql.com
40a88045cb
Quick backport of the following bugfix from MySQL 4.0.14.
...
DO NOT COPY THIS CODE TO 4.0. The bugfix is better in 4.0,
but here in 3.23 we don't want to add a new error code so
we just use ER_EMPTY_QUERY. Bug was:
"If a query was ignored on the slave (because of
@code{replicate-ignore-table} and other similar rules), the slave
still checked if the query got the same error code (0, no error) as on
the master. So if the master had an error on the query (for example,
``Duplicate entry'' in a multiple-row insert), then the slave stopped
and warned that the error codes didn't match. (Bug #797 )"
2003-09-12 17:26:48 +02:00
monty@mashka.mysql.fi
71ce598fa2
Security patch to remove wrong error when one had a global update/delete privilige and a database specific SELECT privilege.
2003-05-07 23:59:24 +03:00
Sinisa@sinisa.nasamreza.org
cf2ebdba32
Back porting a fix from 4.0 at customer's request
2003-04-14 20:58:41 +03:00
monty@mashka.mysql.fi
5ee1dbbe58
Check for empty table/column names
2003-03-14 17:08:42 +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
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
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
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
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
nick@mysql.com
ec04d28468
fixed race that caused sig11s on simultaneous FLUSH LOGS
...
(possibly also fixes binlog filename corruption problems--hasn't
been reproduced since)
2002-10-07 15:42:10 -06: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@hundin.mysql.fi
3e206c1ccf
Do handler specific drop-database at safe place.
...
Fix for access problem (merge from 4.0)
2002-07-14 10:37:34 +03:00
heikki@hundin.mysql.fi
7390d81f43
Many files:
...
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
monty@hundin.mysql.fi
6d0e43c73b
Renamed stripp_sp -> strip_sp
...
Remove end space from ENUM and SET strings
2002-05-27 23:21:49 +03:00
monty@hundin.mysql.fi
0b6a786540
Don't change FLOAT(X+1,X) to FLOAT(X+2,X)
2002-04-26 13:56:32 +03:00
monty@tik.mysql.fi
c0d9954cc7
Fixed pthread_cond_timedwait() for HPUX and DCE threads
...
Cleanup of LIBWRAP handling
2002-04-16 16:29:14 +03:00
monty@hundin.mysql.fi
b21f2d084f
Don't give warnings for empty statements with comments
2002-02-14 15:04:14 +02:00
monty@tik.mysql.fi
1f9b1e1915
Made LOAD DATA LOCAL INFILE more secure
2002-02-13 21:53:26 +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
monty@hundin.mysql.fi
f049543416
Added DO command
2001-12-17 19:59:20 +02:00
monty@hundin.mysql.fi
bdc5a62104
Added status variables for all MySQL commands.
2001-12-13 20:06:44 +02:00
serg@serg.mysql.com
f6cf7618be
removed ftfuncs argument for mysql_select
...
it uses now thd->lex.ftfunc_list
moved ft-initialization to a separate function
re-disabled implicit ft initialization
2001-11-21 18:05:11 +01:00
monty@tik.mysql.fi
e508ad16f8
Fix for LOCK TABLES and BDB tables
2001-09-08 01:02:41 +03:00
monty@hundin.mysql.fi
3a3d1e28e5
Fix test that all merge tables comes from same database
2001-09-03 04:48:07 +03:00
monty@hundin.mysql.fi
298cb454e7
ix compilition for computer in a previous timezone
2001-08-31 10:30:38 +03:00
monty@hundin.mysql.fi
2f93aa9e51
Test that all MERGE tables comes from the same database
2001-08-29 17:33:41 +03:00
monty@hundin.mysql.fi
733f865f54
Fixes for OS2.
...
Fix bug in isamlog
Add argument types to function declarations.
2001-08-22 01:45:07 +03:00
monty@hundin.mysql.fi
063a1a6557
Portability fixes.
...
Patches required by Gemini
Fix to properly detect if there is an active transaction in InnoDB
Fix to not lock thread structure when doing automatic rollback when thread ends
Allow -O lower_case_names=0 on UNIX
2001-08-21 20:06:00 +03:00
monty@hundin.mysql.fi
b1cb5b6ff0
Portability fixes.
...
Let myisamchk generate a new checksum for compressed data.
Don't unconditionally force filenames to lower case on windows.
Update mysqltest to match 4.0 source (to get some of the new bug fixes into 3.23)
2001-08-18 10:49:00 +03:00
monty@hundin.mysql.fi
8a9d6072fa
merge
2001-08-10 17:47:05 +03: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
jani@hynda.mysql.fi
44722151fd
Added new optino --sql-mode to mysqld.
2001-08-09 18:51:38 +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
34b528f13f
Added --warnings to mysqld
2001-06-21 01:12:29 +03:00
monty@hundin.mysql.fi
e30ff2ece1
Fixed bug that caused client to hang because mysqld never did send an
...
error message if the table open or the index creation failed.
Updated portuguese error messages.
Fix for OS/2 that affected CHECK TABLE.
2001-06-02 00:03:16 +03:00
monty@donna.mysql.fi
86eda127f7
Remove wrong access check for locks.
...
Fixed problem with fuzzy dates.
2001-05-23 02:40:24 +03:00
tim@threads.polyesthetic.msg
a37b971595
Security fix: LOCK TABLES must check for sufficient privileges.
2001-05-22 16:21:07 -04: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@donna.mysql.fi
a94ba10f8d
Fix for BDB and LOCK TABLES
2001-04-19 20:41:19 +03:00
monty@tik.mysql.fi
3099c54d94
Test case for bug when updating on key
...
Fixed bug in CONCAT_WS()
Print the default ISOLATION level.
Change lock type for CREATE ... SELECT and INSERT/REPLACE ... SELECT
2001-03-23 20:38:42 +02:00
monty@tik.mysql.fi
3c48448042
Split setup_fields to setup_tables and setup_fields
...
Fixed problem with UPDATE TABLE when keys wheren't always used.
2001-03-21 20:13:46 +02:00
monty@tik.mysql.fi
6f9a73a1ba
Added isolation levels
...
Added SELECT .. FOR UPDATE and SELECT .. IN SHARE MODE
2001-03-21 01:02:22 +02:00
jcole@tetra.spaceapes.com
1b9ce04050
Moved state_map copying to THD::THD().
2001-03-14 01:18:16 -06:00
sasha@mysql.sashanet.com
e8e1e88335
Merge work:/home/bk/mysql
...
into mysql.sashanet.com:/home/sasha/src/bk/mysql
2001-03-12 20:18:16 -07:00
sasha@mysql.sashanet.com
a2b6410965
untested changes to close socket on slave stop for OS's that do not
...
interrupt I/O after thr_alarm_kill()
test case for order by desc coredump
2001-03-12 20:17:32 -07:00
jcole@tetra.spaceapes.com
a855617f36
Added SQL_ANSI_MODE.
2001-03-12 18:16:30 -06:00
monty@donna.mysql.fi
98c70da357
Fixed test cases for innobase
...
Fixed bug introduced with last ORDER BY optimization
Changed log position to longlong to avoid warnings.
2001-03-07 23:50:44 +02:00
monty@donna.mysql.fi
bda3e09935
Merged some functions and removed some unused client functions.
...
Remember UNION for ALTER TABLE
Added test for if we are supporting transactions.
Don't allow REPLACE to replace a row when we have generated an auto_increment key
Fixed bug when using BLOB keys
Fixed bug in SET @variable=user.
2001-03-06 15:24:08 +02:00