monty@mashka.mysql.fi
1bb7665a9c
merge
2002-08-08 03:29:36 +03:00
bar@bar.udmsearch.izhnet.ru
28062413a8
New CRC32() SQL function
2002-08-06 19:29:33 +05:00
monty@mashka.mysql.fi
d686ef729f
Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows
...
Changed name of variables
NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
to avoid confusion with 'not...' variables.
Write name of adminstrator command to slow log.
Added mysqldumpslow to RPM
2002-07-29 09:35:25 +03:00
monty@mashka.mysql.fi
bc035c71f1
Merge with 3.23.51
...
Fixed wrong usage of sprintf() in ha_innodb.cc
2002-07-25 22:46:28 +03:00
peter@mysql.com
c070c8e62d
Merge mysql.com:/home/pz/mysql/mysql-4.0-root
...
into mysql.com:/home/pz/mysql/mysql-4.0
2002-07-25 09:38:06 +04:00
monty@mashka.mysql.fi
4233d3a3d4
merge
2002-07-23 20:39:36 +03: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
peter@mysql.com
8ee17f913c
One more resolving because of pending log functions changes. Not sure if the manual is merged correctly again. Will ask arjen to check as soon as LOG changes will be pushed
2002-07-20 21:33:09 +04:00
Sinisa@sinisa.nasamreza.org
2e8fb546dc
OLAP functionality plus some small bug fixes
2002-07-20 14:51:52 +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
Sinisa@sinisa.nasamreza.org
c5738005c4
Just making commit in order to stop getting erors.
...
Will do a push when it starts working ..
2002-07-16 22:42:53 +03:00
monty@hundin.mysql.fi
f87efa928b
Update for running gcc 3.x (mainly on HPUX)
...
Portability fixes for HPUX
Rename of CHECK_LOCK to IS_FREE_LOCK
Apply lower_case_table_names also to databases
Cleanup of describe code
Don't allow \ in database names
2002-06-30 18:57:21 +03:00
Sinisa@sinisa.nasamreza.org
816dc4eb28
Added functions :
...
* binary XOR
* logical XOR
* CHECK_LOCK("lock_name")
2002-06-29 16:25:09 +03:00
heikki@hundin.mysql.fi
3dd3463f92
sql_yacc.yy, mysql_priv.h, lex.h:
...
Add syntax SET NO_FOREIGN_KEY_CHECKS=1 and SET RELAXED_UNIQUE_CHECKS=1
2002-06-22 20:23:53 +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
peter@linux.local
f85a002c68
Merge
2002-06-14 15:24:22 +04: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
peter@linux.local
89b161d05d
This changeset is mostly new version of previous commit modified according
...
to Monty's code style and optimization comments
2002-06-11 13:37:48 +04: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
Sinisa@sinisa.nasamreza.org
d65671f778
Features made for Schlund plus several bug fixes.
...
Read a manual for more detail
2002-05-15 13:50:38 +03:00
monty@hundin.mysql.fi
b5a145d872
merge
2002-04-13 15:34:39 +03:00
sasha@mysql.sashanet.com
ab1fdbdeac
Merge work:/home/bk/mysql-4.0
...
into mysql.sashanet.com:/reiser-data/mysql-4.0
2002-03-26 22:23:51 -07:00
sasha@mysql.sashanet.com
2e6b48afd3
replication updates and bugfixes. Still not perfect - there is some strange
...
memory corruption I can only repeat on one system.
2002-03-15 18:44:44 -07:00
serg@serg.mysql.com
b948d0853f
merged
2002-03-13 17:27:45 +00:00
serg@serg.mysql.com
3f51fcf1f1
mi_check flags cleanup
...
CHECK/REPAIR syntax cleanup
REPAIR ... USE_FRM syntax
2002-03-13 17:20:17 +00:00
sasha@mysql.sashanet.com
d993a1c0c4
slave start <options> to be able to do
...
slave start io_thread
slave start sql_thread
same for stop
2002-03-09 21:48:06 -07:00
bar@gw.udmsearch.izhnet.ru
1c0a5fd457
Several new OpenGIS functions
...
Fixes in GeomFromText() to accept an new optional
argument respobsible for SRID. This is for more
OpenGIS conformance and PostGIS compatibility
to simplify migrating from PgSQL to MySQL
2002-02-28 17:28:36 +04:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04: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
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
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
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
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
monty@hundin.mysql.fi
c298f03570
merge with 3.23.47 (DO statement)
2001-12-17 20:47:20 +02:00
monty@hundin.mysql.fi
f049543416
Added DO command
2001-12-17 19:59:20 +02:00
monty@hundin.mysql.fi
1d3e058c4b
Added FLUSH DES_KEY_FILE.
...
New HEX() function.
Final (?) cleanup of des_encrypt() / des_decrypt().
Added missing files to Makefiles.
2001-12-13 15:53:18 +02:00
monty@hundin.mysql.fi
a9120c7bef
Fixes for des_crypt functions.
2001-12-13 03:36:36 +02:00
monty@hundin.mysql.fi
1d26537da5
Query cache.
...
Remove some warnings
2001-12-02 14:34:01 +02:00
tonu@volk.internalnet
b147f169ce
des_encrypt(), des_decrypt() functions added. Not finally ready yet, so I will clean it up later.
2001-11-06 22:57:14 +02:00
serg@serg.mysql.com
069d313fd9
Merge work:/home/bk/mysql-4.0
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2001-10-10 18:22:14 +02:00
monty@hundin.mysql.fi
06e719b7cc
Remved Gemini code.
2001-10-10 02:50:28 +03:00
serg@serg.mysql.com
3911c81024
merged
2001-10-09 16:01:06 +02:00
serg@serg.mysql.com
3d3ef6528a
Boolean search passes _some_ tests
2001-10-09 14:53:54 +02: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
tonu@volk.internalnet
0db1aee454
Typo fixes on SSL
2001-09-22 22:40:54 +08:00
tonu@volk.internalnet
d6fb40171b
SSL parser changes to allow SSL specific GRANT commands
2001-09-22 22:32:43 +08:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02: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
sasha@mysql.sashanet.com
c01d4e1ef7
SHOW NEW MASTER FOR SLAVE WITH ...
2001-07-04 17:14:31 -06:00
monty@hundin.mysql.fi
897b37b506
Changed safe_mysqld -> mysqld_safe
...
Added some alias to SHOW commands
Prepare for dynamic changing of MySQL variables
2001-06-28 10:49:16 +03:00
sasha@mysql.sashanet.com
992f889878
added SHOW BINLOG EVENTS
...
fixed log sequence bugs
fixed bugs in handling Slave event
added test case with SHOW BINLOG EVENTS
have not fixed all the bugs - found some that are also in 3.23,
will fix them there first, then do pull and cleanup
will not push this changeset
2001-06-21 13:19:24 -06:00
monty@hundin.mysql.fi
866a82782c
Added support for symlinked tables.
...
myisamchk: Don't force a repair if the only problem was that the
open count wasn't correct.
Added missing error messages.
2001-06-01 04:27:59 +03:00
serg@serg.mysql.com
f2dee22a7f
Merge
2001-05-15 20:55:40 +02:00
serg@serg.mysql.com
8b2a9517a6
ALTER TABLE ... DISABLE KEYS / ALTER TABLE ... ENABLE KEYS
2001-05-11 22:26:12 +02: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
f6a36e948d
Added LOAD DATA CONCURRENT
2001-05-05 09:41:47 +03:00
serg@serg.mysql.com
6a41e1f3a5
merged
2001-04-13 21:29:06 +02:00
monty@donna.mysql.fi
417dd72856
Added SQL_CALC_FOUND_ROWS and FOUND_ROWS()
2001-04-12 00:54:35 +03:00
serg@serg.mysql.com
a6ebe74e3c
Preliminary commit of HANDLER syntax (w/o LIMIT or column-list)
2001-04-07 00:18:33 +02: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
mikef@nslinux.bedford.progress.com
d145a6b97e
Add support for Gemini table handler, Monty has checked and approved
...
Fix bug when read return error
2001-03-21 15:34:16 -05: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@abel.spaceapes.com
84999eb5e2
Reversed SQL_ANSI_MODE per Monty's request.
2001-03-14 07:15:45 -06:00
jcole@tetra.spaceapes.com
a855617f36
Added SQL_ANSI_MODE.
2001-03-12 18:16:30 -06:00
sasha@mysql.sashanet.com
e8ffda5397
Added last_errno and last_error to show slave status
...
slave will skip the first SQL_SLAVE_SKIP_COUNTER events on start -
this is needed to recover from broken replication when the next log
event(s) should just be skipped.
Rotate binlogs when max_binlog_size is reached
2001-01-24 09:15:34 -07:00
sasha@mysql.sashanet.com
178f8e91b0
semi-manual merge, some more needs to be fixed in mysqltest.c in fully
...
manual mode
2001-01-17 20:42:27 -07:00
sasha@mysql.sashanet.com
d0f4235a2e
rpl000016.test sync
...
rpl000001.result BitKeeper file /home/sasha/src/bk/mysql/mysql-test/r/rpl000001.result
ignore Added BitKeeper/tmp/bkr3sAHD to the ignore list
slave.h MASTER_POS_WAIT
lex.h MASTER_POS_WAIT
slave.cc MASTER_POS_WAIT, do automagic restart on debugging abort, skip rotate events in
slave.cc debug abort count
sql_repl.cc announce the log name at the start of the log with a fake rotate event
item_create.h MASTER_POS_WAIT
item_func.cc MASTER_POS_WAIT
item_func.h MASTER_POS_WAIT
sql_class.h enter_cond(), exit_cond() helper inliners
item_create.cc added MASTER_POS_WAIT
mysql-test-run.sh speed improvement fixes
rpl000007.test sync
rpl000003.test sleep -> sync
rpl000004.test sleep -> sync, fixed clean up bug
rpl000014.test sync
rpl000009.test sync
rpl000013.test sync
rpl000001.test sleep -> sync
rpl000008.test sync
rpl000006.test sync on cleanup
rpl000011.test sync
rpl000012.test sync
rpl000005.test sleep -> sync
rpl000010.test sync
rpl000015.test sync
rpl000002.test sleep -> sync
rpl000014.result we now know the master log name as soon as we connect
mysql.cc added optional agrument to --wait
mysqltest.c added save_master_pos and sync_with_master commands
2001-01-17 05:47:33 -07:00
monty@donna.mysql.com
3ca140edb3
Fixed bug in CHECK TABLE ... EXTENDED
...
Added keyword MEDIUM to CHECK TABLE
New benchmarks results for Linux-alpha
2001-01-16 15:02:25 +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@narttu.mysql.fi
b689a1a752
merge
2000-11-16 00:24:11 +02:00
monty@tik.mysql.com
7a013339f8
Bug fixes, TRUNCATE, safer passwords on command line and connect timeout
2000-11-13 23:55:10 +02:00
sasha@mysql.sashanet.com
75cd25a579
fixed --skip-slave-thread bug
...
added PURGE MASTER LOGS TO and SHOW MASTER LOGS
fixed the output of SHOW MASTER STATUS
updated docs
2000-10-26 22:11:55 -06:00
monty@donna.mysql.com
2fedd7bae7
Bug fixes + defines for INNOBASE
2000-10-20 17:39:23 +03:00
monty@donna.mysql.com
00625e0f8f
Added RESET command
2000-10-14 11:16:17 +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@tramp.mysql.fi
e32799e4dd
RIGHT JOIN, part of automatic repair of MyISAM tables, backup on repair,
...
reading from FIFO, fixes for FULLTEXT, @@IDENTITY
2000-09-26 00:33:25 +03:00
sasha@mysql.sashanet.com
44bc3f9b0e
merge of conflicts
2000-09-15 11:00:35 -06:00
sasha@mysql.sashanet.com
44455063e5
BACKUP TABLE TO 'directory'
...
RESTORE TABLE FROM 'directory'
log on slave when it connects to the master
2000-09-14 16:34:50 -06:00
monty@donna.mysql.com
b581f17be2
Fixes for MERGE TABLES and HEAP tables
2000-09-14 02:39:07 +03:00
serg@infomag.ape.relarn.ru
dc85435993
mysqldump.c use SHOW CREATE
...
lex.h MRG_MyISAM == MERGE (for SHOW CREATE to work)
2000-08-30 21:40:59 +04:00
serg@infomag.ape.relarn.ru
eb8ad15751
ft_optimization: identical queries merging. collection -> fulltext. Bugs fixed.
...
**************** !!! NOTE EVERYBODY: SYNTAX CHANGED !!! ********************
There's no COLLECTIONs now, full-text indexes can be created via the word
FULLTEXT, which should be used like UNIQUE.
2000-08-28 17:43:58 +04: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
monty@donna.mysql.com
c5842d42f6
Additions for CHECK table + update of benchmarks
2000-08-17 01:05:02 +03:00
bk@work.mysql.com
f4c589ff6c
Import changeset
2000-07-31 21:29:14 +02:00