monty@mysql.com
8b2a735563
Portability fixes (and a typo after last merge)
2004-06-04 11:02:35 +03:00
heikki@hundin.mysql.fi
347a21e118
fil0fil.c:
...
Make allocation for file path more uniform: always use mem_alloc(), not ut_malloc()
2004-06-03 17:31:46 +03:00
heikki@hundin.mysql.fi
0dced9ea3b
os0file.c, fil0fil.c:
...
Align file i/o buffers for DIRECT_IO; fix mem_alloc()/mem_free() crash bugs that came from Marko's latest cleanup
2004-06-03 17:02:37 +03:00
heikki@hundin.mysql.fi
8dae598aa2
fil0fil.c:
...
Fix typo spotted by Paul DuBois: 'no continue' -> 'not continue'
2004-06-02 18:19:28 +03:00
monty@mysql.com
4cb62eb001
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-06-02 12:14:36 +03:00
monty@mysql.com
e6c5715126
after merge fixes
2004-06-02 12:13:49 +03:00
heikki@hundin.mysql.fi
a106806324
fil0fil.c:
...
Stop InnoDB crash recovery if an .ibd file for a table exists in a database directory, but we cannot access it.
2004-06-02 08:44:08 +03:00
monty@mysql.com
70c2256d2f
Merge with 4.0 to get fixes for netware
2004-06-02 00:09:14 +03:00
heikki@hundin.mysql.fi
aac5c88bcd
row0mysql.c, row0mysql.h, ha_innodb.cc:
...
Inside LOCK TABLES, use either LOCK_S or LOCK_X in locking reads; an improvent over the previous patch
2004-06-01 19:19:48 +03:00
marko@hundin.mysql.fi
a5d8f243a9
InnoDB: os0file.c:
...
Do not lock raw devices or files opened for read only
2004-06-01 17:30:46 +03:00
heikki@hundin.mysql.fi
59e44ff8d8
fil0fil.c:
...
Add missing newlines in fprintfs
2004-06-01 16:41:13 +03:00
marko@hundin.mysql.fi
2b2e7e4580
InnoDB cleanup: Fix potential buffer overflows,
...
allow deletion of tablespaces whose names contain "'"
2004-06-01 15:19:09 +03:00
marko@hundin.mysql.fi
fb9257dc45
InnoDB: Add diagnostics when tmpfile() fails at start (Bug #3919 )
2004-05-28 11:15:59 +03:00
monty@mysql.com
be7f1a3570
merge with 4.0 to get fix for hpux
2004-05-28 02:04:07 +03:00
monty@mysql.com
33dcccb5bf
Portability fix for HPUX
2004-05-28 02:00:34 +03:00
marko@hundin.mysql.fi
fc85c80b88
InnoDB cleanup:
...
Disable log archiving code unless #ifdef UNIV_LOG_ARCHIVE
Remove (char*) casts of string constants; add const qualifiers
Remove some Hot Backup code unless #ifdef UNIV_HOTBACKUP
2004-05-27 15:27:43 +03:00
monty@mysql.com
3ad2158b42
Portability fixes
2004-05-27 12:03:16 +03:00
monty@mysql.com
61a6557307
merge with 4.0 to get windows fixes
2004-05-27 00:30:28 +03:00
marko@hundin.mysql.fi
9e983e629e
InnoDB fixup: remove debug assertion that causes compile error
...
when UNIV_DEBUG is defined (introduced in ChangeSet@1.1850 )
2004-05-26 19:41:14 +03:00
monty@mysql.com
7d8f8bc77b
Changed prototype of killed_ptr() to make it more portable
...
Applied patches for Netware
2004-05-26 19:12:49 +03:00
marko@hundin.mysql.fi
9a5dafba83
InnoDB cleanup: Remove unused code for online backup
2004-05-26 10:45:37 +03:00
monty@mysql.com
390d9898f9
merge with 4.0 to get Netware patches and fixes for libmysqld.dll
2004-05-25 22:54:00 +03:00
marko@hundin.mysql.fi
7ee9540976
InnoDB cleanup and possible bug-fix: Remove srv0que
2004-05-25 20:12:09 +03:00
monty@mysql.com
af44187bff
Merge with 4.0 to get fixes for Windows project files
2004-05-25 02:47:25 +03:00
monty@mysql.com
0babddff40
New MYSQL_SERVER_SUFFIX usage (for easier compilation)
...
Update of VC++ project files.
2004-05-25 02:28:44 +03:00
marko@hundin.mysql.fi
86d011dfee
InnoDB cleanup: sync0arr.c: sync_array_cell_print(): Remove unused variable str
2004-05-24 15:43:34 +03:00
monty@mysql.com
eca917b79c
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-05-24 15:00:12 +03:00
monty@mysql.com
56c0258536
After merge fixes
...
Remove compiler warnings
Update windows project files
2004-05-24 14:42:34 +03:00
marko@hundin.mysql.fi
40711b570a
InnoDB cleanup: Remove unused functions ut_sprintf() and ut_fprintf()
2004-05-20 01:32:02 +03:00
monty@mysql.com
a4b0ec1ede
Merge with 4.0, mainly to get changes to windows project files
2004-05-20 00:54:52 +03:00
monty@mysql.com
86a966256b
Added support for projects 'classic', 'classic nt', 'pro' and 'pro nt'
...
Ensured that all projects compile
Removed compiler warnings
Better setting of server_version variable.
Fix that make_win_src_distribution creates the privilege tables.
2004-05-19 16:38:12 +03:00
heikki@hundin.mysql.fi
0189d5afe8
mem0pool.c:
...
Fix a memory corruption bug: in 32-bit computers, every 4 billionth malloc outside innodb_additional_mem_pool_size was mistreated when freeing the memory; this could corrupt the InnoDB additional mem pool and could have caused crashes anywhere, also inside MySQL, or even database corruption! the bug exists also in 3.23 and 4.1; workaround: configure innodb_additional_mem_pool_size big enough
2004-05-18 01:53:06 +03:00
heikki@hundin.mysql.fi
7ff94b3808
dict0dict.c:
...
Allocate the table name buffer from the mem heap of a foreign key object rather than pointing to the name buffer in the table object; even though this apparently caused no bugs in RENAME, DROP, ALTER TABLE, or elsewhere, this convention was very prone to memory allocation bugs
2004-05-17 17:27:25 +03:00
marko@hundin.mysql.fi
de76ef323a
InnoDB: srv0srv.c: Remove reference to sync0ipm.h (fix ChangeSet@1.1833)
2004-05-17 16:19:55 +03:00
marko@hundin.mysql.fi
e58b9c62fb
InnoDB cleanup: Remove unused function ut_printf()
2004-05-17 14:51:46 +03:00
marko@hundin.mysql.fi
03f19377a9
InnoDB cleanup: Add const qualifiers to many char* arguments
2004-05-17 14:40:31 +03:00
marko@hundin.mysql.fi
e6fb3e3531
InnoDB: Remove unused module sync0ipm
2004-05-17 11:11:26 +03:00
marko@hundin.mysql.fi
521c1983ee
InnoDB: Remove unused module os0shm
2004-05-17 10:49:01 +03:00
monty@mysql.com
cd3dab49cc
Merge with 4.0.20
2004-05-17 01:52:13 +03:00
marko@hundin.mysql.fi
a5cca9df64
InnoDB cleanup: eliminate IB__FILE__
2004-05-14 16:06:21 +03:00
marko@hundin.mysql.fi
3c87eda7ee
InnoDB: ut0mem: Remove ut_str_catenate(), add const qualifiers
2004-05-14 14:23:46 +03:00
marko@hundin.mysql.fi
3a9e590166
InnoDB: Disable file locking on FreeBSD
2004-05-14 14:11:13 +03:00
marko@hundin.mysql.fi
b4ae2577f0
InnoDB: Remove unused function ut_str_catenate()
2004-05-14 12:26:12 +03:00
heikki@hundin.mysql.fi
d2649c110a
ha_innodb.cc, trx0trx.h, lock0lock.c, trx0trx.c:
...
Reserve the MySQL LOCK_thread_count mutex when printing thd->query of
an arbitrary transaction; if we are printing thd->query of a transaction that
we know is currently executing inside InnoDB, then we know that MySQL cannot
meanwhile change thd->query, and no need to reserve the MySQL mutex; note
that this patch still leaves open the possibility of races in MySQL's
thd->query_len
2004-05-13 22:07:51 +03:00
marko@hundin.mysql.fi
bd8901fd73
InnoDB: fixed bug in dict0dict.c: dict_index_name_print()
2004-05-13 15:51:02 +03:00
marko@hundin.mysql.fi
c838192066
InnoDB: Remove os_file_lock() from the 4.0 tree (unfix Bug #3608 )
2004-05-13 15:28:56 +03:00
marko@hundin.mysql.fi
ecdac0a326
eval0eval.c:
...
Backport suppression of MSVC++ warning from 4.1
2004-05-12 10:40:04 +03:00
marko@hundin.mysql.fi
05a716a75f
InnoDB: Replace ut_strdup() with mem_strdup()
2004-05-11 12:51:42 +03:00
marko@hundin.mysql.fi
981f6ef979
InnoDB: Changed bug reporting address to http://bugs.mysql.com
2004-05-11 11:05:02 +03:00
marko@hundin.mysql.fi
d48d5681c8
InnoDB: Fix assertion failure for orphaned tables in DROP DATABASE
2004-05-10 17:15:29 +03:00