marko@hundin.mysql.fi
23a5fc5558
InnoDB: ignore intra-database foreign key references between tables
...
when dropping database (Bug #3058 )
2004-04-02 16:25:48 +03:00
marko@hundin.mysql.fi
cfae16667e
InnoDB: Handle quotes properly in the InnoDB SQL parser
2004-04-02 11:58:54 +03:00
marko@hundin.mysql.fi
4da72c2eb1
Merge marko@build.mysql.com:/home/bk/mysql-4.0
...
into hundin.mysql.fi:/home/marko/j/mysql-4.0
2004-04-01 16:54:22 +03:00
marko@hundin.mysql.fi
e00bf40360
InnoDB cleanup: fixing buffer overflows and quoting of quotes
2004-04-01 16:51:34 +03:00
heikki@hundin.mysql.fi
a169bfa6ae
fil0fil.c, os0file.c, srv0srv.h, srv0srv.c:
...
Add an accessor function to set srv_io_thread_op_info, change the type to const char*, also change the type of srv_io_thread_function to const char*
2004-04-01 09:18:32 +03:00
heikki@hundin.mysql.fi
f30da8edd5
fil0fil.c:
...
Add assertions to check that we do not go out of bounds of io thread status array
os0file.c:
Fix memory corruption (assertion failure on line 244 of sync0sync.c) reported by Miguel in a Windows build of MySQL-4.1.2. The bug is present in all InnoDB versions in Windows, but it depends on how the linker places a static array in srv0srv.c, whether the bug shows itself. 4 bytes were overwritten with a pointer to a statically allocated string: 'get windows aio return value'.
2004-03-31 18:06:13 +03:00
marko@hundin.mysql.fi
7f1f7b9391
InnoDB: cleanup of B-tree cursor operations
2004-03-31 11:40:07 +03:00
marko@hundin.mysql.fi
7f2a007496
InnoDB: Remove ut_str_contains() and replace it with strchr()
2004-03-31 11:26:56 +03:00
marko@hundin.mysql.fi
16ac732cb9
InnoDB: Remove unused hash table code and parameters
2004-03-31 10:58:50 +03:00
marko@hundin.mysql.fi
3476db87a0
InnoDB: Remove unnecessary code, mostly related to stored procedures
2004-03-31 10:30:14 +03:00
marko@hundin.mysql.fi
80c37f6a92
InnoDB: parse CONSTRAINT FOREIGN KEY correctly (Bug #3332 )
2004-03-30 17:26:20 +03:00
heikki@hundin.mysql.fi
86569695f7
mem0dbg.c:
...
Backport from 4.1: make mem_current_allocated_memory global variable
2004-03-26 17:49:02 +02:00
heikki@hundin.mysql.fi
d1622a941d
mem0dbg.c:
...
Let mem_current_allocated_memory be a global variable, because it is used in an .ic file if UNIV_MEM_DEBUG is defined
2004-03-26 17:46:27 +02:00
monty@mysql.com
e0e0314d60
Merge with 4.0
2004-03-25 23:29:45 +02:00
heikki@hundin.mysql.fi
035778d631
sync0sync.c:
...
Actually, assembler is used onnly on 32-bit x86 Win, and no need to exclude Netware specifically
2004-03-22 18:11:13 +02:00
heikki@hundin.mysql.fi
d22f36cdfd
sync0sync.c:
...
Fix typo __NETWARE --> __NETWARE__ in mutex creation
2004-03-22 18:06:26 +02:00
monty@mysql.com
59f9dcd51d
Merge mysql.com:/home/my/mysql-4.0 into mysql.com:/home/my/mysql-4.1
2004-03-20 12:49:17 +02:00
heikki@hundin.mysql.fi
a8da91f9fb
btr0btr.c:
...
Correct previous bk commit comment about page splits: actually, in versions < 4.0.19 space utilization is very poor if 1500 - 8000 byte rows are inserted in the order of the primary key
2004-03-20 06:09:18 +02:00
heikki@hundin.mysql.fi
c9bbc83d11
btr0btr.c:
...
Improve space utilization if we have 3 kB - 8 kB rows to insert in the order of the primary key
btr0cur.c:
Fix bug: The row count and key cardinality estimate was grossly too small if each clustered index page only contained one record
2004-03-19 22:51:25 +02:00
monty@mysql.com
933278a52b
merge with 4.0 (to get compiler error fixes for innodb)
2004-03-19 15:17:56 +02:00
monty@mysql.com
b7fc7188d0
Portability fixes
...
Removed \r from new tests
Fixes to get new sustem_mysql_db... tests to work
2004-03-19 14:52:48 +02:00
heikki@hundin.mysql.fi
fd15536808
trx0undo.h, trx0undo.c, trx0trx.c:
...
Update an obsolete comment about trx commit: we can no longer call trx_undo_update_cleanup_by_discard(), and actually, the idea to call it was erroneous, it cannot work
2004-03-18 14:57:22 +02:00
heikki@hundin.mysql.fi
2b16cf783f
os0file.c:
...
Remove includes of sys/types.h and sys/stat.h because these are already included through univ.i
2004-03-18 08:26:49 +02:00
monty@mysql.com
19d0a60eca
Don't change server suffix if given to configure
...
Portability fixes
2004-03-18 01:48:46 +02:00
monty@mysql.com
53c810cda4
merge fixes (use old code)
2004-03-18 00:16:04 +02:00
heikki@hundin.mysql.fi
e8efe9c32a
Many files:
...
Fix Bug #1942 : do not retrieve all columns in a table if we only need the 'ref' of the row (usually, the PRIMARY KEY) to calculate an ORDER BY
2004-03-17 19:37:48 +02:00
monty@mysql.com
f9ad650490
merge with 4.0
2004-03-17 10:36:12 +02:00
monty@mysql.com
44667503b7
After merge fixes
2004-03-17 10:30:40 +02:00
monty@mysql.com
350b433569
merge with 4.0
2004-03-16 22:41:30 +02:00
heikki@hundin.mysql.fi
a472dea224
ut0mem.h, ut0mem.c:
...
Add ut_strdup
os0file.h, os0file.c:
Add creation of directories
2004-03-16 20:55:49 +02:00
marko@hundin.mysql.fi
e39030c027
InnoDB: Remove some debug variables unless UNIV_SEARCH_PERF_STAT is defined
2004-03-16 18:55:44 +02:00
marko@hundin.mysql.fi
20b6863c9a
InnoDB: Make btr_cur_unmark_extern_fields() a static function
2004-03-16 15:26:33 +02:00
marko@hundin.mysql.fi
38ae7128f9
InnoDB: Remove unused directory "cry"
2004-03-16 12:48:17 +02:00
marko@hundin.mysql.fi
625c310b5a
InnoDB: remove debug code from non-debug version
2004-03-16 12:18:02 +02:00
marko@hundin.mysql.fi
2c0cabd984
InnoDB: Remove log debug code when UNIV_LOG_DEBUG is not defined
2004-03-16 11:48:20 +02:00
marko@hundin.mysql.fi
9ed26f721d
InnoDB: Replace ut_a(0) with ut_error
2004-03-13 22:48:00 +02:00
marko@hundin.mysql.fi
27243b2b08
InnoDB: disable unreachable debug functions unless #ifdef UNIV_MEM_DEBUG
2004-03-12 23:26:13 +02:00
marko@hundin.mysql.fi
6e57e23b9c
InnoDB: remove redundant functions mach_write() and mach_read()
2004-03-12 22:55:46 +02:00
marko@hundin.mysql.fi
9287264b6b
Remove constant parameter MLOG_8BYTES from mtr_read_dulint() and mlog_write_dulint()
2004-03-12 17:44:25 +02:00
marko@hundin.mysql.fi
4573eb566c
Allow UNIV_SYNC_DEBUG to be disabled while UNIV_DEBUG is enabled
2004-03-12 17:14:51 +02:00
lenz@kallisto.local
7765418e3c
- added AC_PROG_LIBTOOL to innobase/configure.in to be able to compile
...
MySQL with InnoDB on IBM AIX 5.2 in 64bit mode (which requires a special
AR flag)
2004-03-12 15:42:26 +01:00
marko@hundin.mysql.fi
c8d6a195dc
Replace ut_anp with ut_a
2004-03-12 13:46:26 +02:00
marko@hundin.mysql.fi
5b5d749294
More consistent handling of magic numbers
2004-03-11 23:12:02 +02:00
marko@hundin.mysql.fi
5aeab393af
Remove remaining references to the built-in ODBC driver of InnoDB
2004-03-11 16:36:19 +02:00
marko@hundin.mysql.fi
a68a1ed0ca
Remove unneeded module "com"
2004-03-11 12:55:28 +02:00
heikki@hundin.mysql.fi
0a0e981220
sync0arr.c, os0file.h:
...
Print always the count of pending pread() and pwrite() calls if there is a long semaphore wait
2004-03-11 10:38:37 +02:00
heikki@hundin.mysql.fi
9d6f8a7b88
data0data.c:
...
Do not test a magic number with =, use == instead :)
2004-03-11 10:26:08 +02:00
heikki@hundin.mysql.fi
4f601cd9ef
buf0lru.c:
...
Add typecasts to ulong because ulint is __int64 in Win 64-bits
Better error message to the .err log if we have to crash the server because the buffer pool is exhausted by the lock table or the adaptive hash index
2004-03-10 11:05:02 +02:00
heikki@hundin.mysql.fi
995b74ee0d
srv0srv.c:
...
Protect the reading of the latest foreign key error explantion buffer with a mutex; in theory, a race condition could cause SHOW INNODB STATUS print garbage characters after the error info; remove the sprintf of the latest UNIQUE KEY error, since the buffer really was always empty
2004-03-04 15:32:16 +02:00
heikki@hundin.mysql.fi
a9e361856b
btr0cur.c:
...
Remove unused function btr_cur_update_sec_rec_in_place; besides, it was faulty, because even if strings are alphabetically identified, they can have different lengths
2004-02-27 19:02:51 +02:00