serg@serg.mysql.com
be580475be
fix auto-increment in sub-key and insert ... select
2003-03-02 01:48:57 +01:00
monty@mashka.mysql.fi
023d6dd39b
Merge with 4.0.11
2003-02-04 21:52:14 +02:00
serg@serg.mysql.com
1ced5948f0
low-level error messages cleanup
2003-01-28 17:42:08 +01: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
hf@deer.mysql.r18.ru
96089e2b3a
resolving conflicts
2003-01-15 13:15:35 +04:00
hf@deer.mysql.r18.ru
c59bff7c96
SCRUM
...
embedded library trimming
2003-01-15 12:11:44 +04:00
monty@mashka.mysql.fi
07daf3169e
Merge with 4.0.8
2003-01-03 00:04:33 +02:00
hf@deer.mysql.r18.ru
d8c700891e
Merging&testing
2002-12-17 19:33:25 +04:00
monty@mashka.mysql.fi
43875f50cb
Use delayed create index for LOAD DATA INFILE, INSERT ... SELECT and CREATE ... SELECT
...
(Accidently disabled by a recent push)
2002-12-16 17:28:53 +02:00
hf@deer.mysql.r18.ru
c1e69d2cca
Merging
2002-12-16 18:58:55 +04:00
hf@deer.mysql.r18.ru
e3b3b68307
Big purge about embedded library (scrum)
2002-12-16 17:33:29 +04:00
monty@mashka.mysql.fi
9c509fcb52
Transactions in AUTOCOMMIT=0 mode didn't rotate binary log
...
Don't enable any bulk insert or record caching code if inserting less than MIN_ROWS_TO_USE_BULK_INSERT rows (100)
2002-12-14 12:45:31 +02:00
monty@mashka.mysql.fi
62dfd57475
Removed compiler warnings
...
Fixed wrong variable name for Windows
2002-12-12 21:01:32 +02:00
monty@mashka.mysql.fi
d3eb993a27
rename of net_pkg.cc to protocol.cc
...
Class for sending data from server to client (Protocol)
This handles both the old ( <= 4.0 ) protocol and then new binary protocol that is used for prepared statements.
2002-12-11 09:17:51 +02:00
serg@serg.mysql.com
b42eff16cb
bulk insert code optimized
2002-12-07 22:40:20 +01:00
hf@genie.(none)
5e8b27c0d3
Pull conflicts resolutions
2002-11-29 12:35:48 +04:00
monty@mashka.mysql.fi
dac6498f9b
Merge with 4.0
2002-11-21 15:56:48 +02:00
monty@mashka.mysql.fi
adfad220f4
Merge work:/my/mysql-4.0 into mashka.mysql.fi:/home/my/mysql-4.0
2002-11-16 21:58:09 +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
serg@serg.mysql.com
b4cc92a3d9
Merge serg.mysql.com:/usr/home/serg/Abk/mysql
...
into serg.mysql.com:/usr/home/serg/Abk/mysql-4.0
2002-11-14 22:42:19 +01:00
serg@serg.mysql.com
822d4bd037
better fix for OPTIMIZE bug
2002-11-14 22:39:46 +01:00
serg@serg.mysql.com
31fa2c5084
merged
2002-11-13 23:38:19 +01:00
serg@serg.mysql.com
8a088f2e3c
optimize table corruption fixed, though more clean fix is desired.
...
Fix for another optimize bug is undone, as the new one handles both cases.
test added
2002-11-13 22:55:32 +01:00
serg@serg.mysql.com
7720348bd2
removed DBUG_ENTER/RETURN tags
2002-11-11 22:43:07 +01:00
serg@sergbook.mysql.com
cd6bf73f20
manually merged
2002-11-07 21:56:24 +01:00
hf@genie.(none)
25bd1e9a37
Merged by hands
2002-11-07 12:20:08 +04: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
bar@bar.mysql.r18.ru
86b633379c
Some charset code clean-ups
2002-11-06 17:01:12 +04:00
serg@sergbook.mysql.com
6f963dad66
added DBUG_ENTER/RETURN tags, dbug_add_tags.pl bugfix
2002-11-05 16:06:11 +01:00
hf@genie.(none)
a6b0579fcd
Some code improvements
2002-10-23 16:55:35 +05:00
serg@serg.mysql.com
43599856b2
make REPAIR killable
2002-10-22 00:25:36 +00:00
hf@genie.(none)
8a88791fb1
Merge abotchkov@work.mysql.com:/home/bk/mysql-4.1
...
into genie.(none):/home/hf/work/mysql-4.1
2002-10-18 15:55:21 +05:00
serg@serg.mysql.com
0b2f4dac0b
ha_myisam::repair should not touch file->save_state (directly, that is)
2002-10-15 15:15:53 +00:00
serg@serg.mysql.com
e65536b147
--tmpdir=dir1:dir2:... support in myisamchk
2002-10-08 14:34:04 +00:00
hf@genie.(none)
55866b0615
Huge pull
2002-10-07 15:38:07 +05:00
hf@genie.(none)
71d0f48f1f
Geometry field type implementation
2002-10-04 12:48:32 +05:00
monty@mashka.mysql.fi
0f39457613
Merge with 4.0.4
2002-10-02 17:55:12 +03:00
monty@mashka.mysql.fi
ce4b584a85
Increased max possible max_allowed_packet to 1G
...
Small optimization to not do external locking of temporary MyISAM tables.
2002-09-19 17:49:41 +03:00
monty@mashka.mysql.fi
f638ee6df9
Added code to flush a bulk_insert index.
...
This fixes a bug when doing multi-row inserts on table with an auto_increment key that is not in the first key segment.
2002-09-18 21:04:49 +03:00
serg@serg.mysql.com
27390a8d81
LOCK+modify+OPTIMIZE bugfix
2002-08-31 23:18:08 +00:00
serg@serg.mysql.com
2e15d13fd8
LOCK+change+OPTIMIZE MyISAM bug
2002-08-31 20:42:41 +00: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@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
serg@sergbook.mysql.com
dcdfe5b545
mi_check T_xxx options massaged. T_REP_PARALLEL added
...
my_getopt-related style changes in myisamchk.c
2002-06-24 21:21:33 +02:00
monty@hundin.mysql.fi
0d8e13979d
Made keyread (key scanning) a key specific attribute.
...
This avoids using fulltext keys for table scanning.
This also reverts Sinisa's original fix for this problem.
2002-06-19 00:22:30 +03: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
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
bar@gw.udmsearch.izhnet.ru
0d12cf1c62
Fixed that charset was not properly strored in index segment on myisam table
2002-06-10 21:10:57 +05:00
ram@gw.udmsearch.izhnet.ru
b8a12a8cec
MI_KEYSEG -> HA_KEYSEG
...
_mi_key_cmp -> ha_key_cmp
2002-04-25 15:10:29 +05:00
bar@gw.udmsearch.izhnet.ru
eab2893dac
RB-Tree indexes support in HEAP tables
...
Renamed _hp_func -> hp_func
mi_key_cmp moved to /mysys/my_handler.c
New tests for HEAP tables
2002-04-25 13:36:55 +05: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
f0e835ac09
Fixed problem with WHERE key=const ORDER BY key DESC
2002-03-15 21:30:50 +02: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
monty@hundin.mysql.fi
e6b9734e0a
merge
2002-03-12 12:21:51 +02:00
monty@hundin.mysql.fi
a01775c5eb
Added help for --local-infile
...
Fix for bug on intel where (int32) 1 << 32 == 1, which gave problems when using 32 keys.
Allow SET PASSWORD for anonymous user
2002-03-12 11:38:22 +02:00
bar@gw.udmsearch.izhnet.ru
735b27d578
Added GIS extension
2002-02-22 15:24:42 +04: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
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
b658662ae4
Update copyright
...
Fixed memory leak on shutdown (Affects the embedded version & MyODBC)
2001-12-06 14:10:51 +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
monty@hundin.mysql.fi
701636ef6e
Merge
2001-11-18 14:33:53 +02:00
monty@hundin.mysql.fi
fb1f8c4f0a
Fixed bug in OPTIMIZE TABLE that reset index cardinality if it
...
was up to date.
2001-11-18 14:08:17 +02:00
monty@hundin.mysql.fi
4c60b41954
Portability fix
...
Cleanup typos (like SKIPP -> SKIP)
2001-11-07 00:13:29 +02: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
monty@hundin.mysql.fi
88aff4bf85
Updated manual about embedded version.
...
Speed up column-completion in 'mysql'
Don't use ISAM if HAVE_ISAM is not defined
A lot of fixes for the embedded version. All libraries are now included in libmysqld.a
Changed arguments to convert_dirname() to make it more general.
Renamed files in the 'merge' directory to all use a common prefix.
Don't compile both assembler and C functions on x86
2001-10-08 04:58:07 +03:00
monty@tik.mysql.fi
e05bf277d6
Final fixes for INSERT into MERGE tables.
...
Move MAX_BLOB_WIDTH to be global
Added full support for unsigned BIGINT
Fixed spelling errors
2001-09-27 21:45:48 +03:00
serg@serg.mysql.com
5a9a3e91e7
get rid of ft_search. Now there're two sets of ft_ functions, ft_nlq_* and ft_boolean_*
2001-09-25 20:31:02 +02:00
monty@work.mysql.com
55485f5c2d
Merge work.mysql.com:/home/bk/mysql
...
into work.mysql.com:/home/bk/mysql-4.0
2001-09-18 04:17:52 +02:00
monty@hundin.mysql.fi
cd78a8be66
Fix for LOAD DATA FROM MASTER when using tables with checksum
...
Fixed some wrong test cases
2001-09-18 04:58:15 +03:00
monty@hundin.mysql.fi
0d72e5440f
Portability fixes
2001-09-15 16:22:34 +03:00
monty@hundin.mysql.fi
381093b322
merge
2001-09-02 19:58:08 +03:00
monty@work.mysql.com
447c18954e
merge with 3.23.42
2001-09-02 18:38:33 +02:00
monty@hundin.mysql.fi
04ec0de7d0
Changed DB_TYPE_INNOBASE to DB_TYPE_INNODB
...
Fix that DROP DATABASE works with all table types
Use BULK_INSERT when inserting more than one row
Better TRUNCATE TABLE
2001-09-02 13:47:00 +03:00
monty@hundin.mysql.fi
b3d9ec2124
Increase version number
2001-08-30 20:38:46 +03:00
sasha@mysql.sashanet.com
f6836bf81a
merged
2001-08-09 19:16:15 -06:00
jani@hynda.mysql.fi
44722151fd
Added new optino --sql-mode to mysqld.
2001-08-09 18:51:38 +03:00
serg@serg.mysql.com
0043136882
merged
2001-07-02 21:52:22 +02:00
serg@serg.mysql.com
15b6738474
memory-limited tree
...
bulk inserts optimization: caching keys in binary tree
2001-07-02 21:18:57 +02:00
monty@hundin.mysql.fi
4cbe66582c
Symlinking of tables should not work.
...
Fixed error number handling bug in mysqltest.
Fixed that error number from insert delayed is reported correctly.
merged new vio code with old violite code.
2001-06-05 03:38:10 +03: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
c3039e8005
ALTER TABLE ... DISABLE/ENABLE KEYS, code cleanup
2001-05-24 13:14:25 +02:00
monty@donna.mysql.fi
c8fbe93890
Fixed that database name is shown for CHECK TABLE
2001-04-20 17:14:53 +03:00
monty@donna.mysql.fi
bc6fd0acaa
Added test for PTHREAD_YIELD
...
Removed test of default master parameter
Don't lock locked tables in REPAIR
Changed optimzation for SELECT * from table,table ORDER BY keypart LIMIT
2001-04-18 23:47:11 +03:00
monty@donna.mysql.fi
1a077f4a55
Let ALTER TABLE and LOAD DATA INFILE use sorting to create index
...
Call init_signals before intializing table handlers. This should fix the signal problem in Innobase on Solaris
2001-03-28 04:16:04 +03:00
monty@donna.mysql.fi
5985de2db5
Added new tests to benchmark suite
2001-03-11 21:20:15 +02:00
jcole@tetra.spaceapes.com
78daefc5b3
Cleanups...
2001-02-20 20:39:48 -06:00
monty@donna.mysql.com
d218ebcc51
Added locks needed for Innobase
...
Fixed mutex problem when doing automatic repair of MyISAM tables
2001-02-18 00:03:37 +02:00
monty@donna.mysql.com
d487e5a9b1
Use new bitmap interface
...
Patches for Armstrong
Removed warnings when using REPAIR TABLE .. EXTENDED
2001-02-07 17:42:20 +02:00
serg@donna.mysql.com
f433ec1247
ha_myisam.cc magic removed
...
ha_myisam.h magic removed
2001-01-19 20:25:27 +02:00
sasha@mysql.sashanet.com
96b32fb3e8
fixed buffer overrun in resolve_stack_dump
...
fixes for restore table
test case for backup/restore
2001-01-18 17:36:20 -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
f0505c0902
Don't use subtransactions on write_row() and delete_row() in
...
ha_berkeley.
A few smaller bug fixes.
2000-12-28 19:26:32 +02:00
monty@donna.mysql.com
10693572ed
Fixed delete in tables with hidden primary key
...
Remove not used BDB logs on shutdown
Don't give warnings for repair on slaves
Fixed transaction log files
2000-12-12 04:34:56 +02:00
monty@donna.mysql.com
38fce965ea
New error messages
...
Fix for creating read-only files on windows
Manual updates
2000-12-05 03:00:31 +02:00
monty@donna.mysql.com
08a2c58ed1
Fixed bug in 'drop table'
...
Portability fixes
2000-11-29 05:09:28 +02:00