Commit graph

245 commits

Author SHA1 Message Date
heikki@hundin.mysql.fi
b5554c77aa lexyy.c, pars0grm.c:
Include univ.i before any system headers to remove a large file compilation failure on AIX
2002-10-25 20:15:30 +03:00
heikki@hundin.mysql.fi
31b69aff28 btr0cur.c:
Fix typo in earlier commit
2002-10-16 00:05:15 +03:00
heikki@hundin.mysql.fi
3652fe789b btr0cur.c:
Fix bug: range estimator exaggerated small range size greatly if the paths in the B-tree happened to branch on a high level
2002-10-16 00:05:14 +03:00
heikki@hundin.mysql.fi
399ba21d85 os0thread.c:
Fix compilation error on HP-UX-11: pthread_t is a scalar there, not a struct like in HP-UX-10.20
2002-10-11 15:44:45 +03:00
heikki@hundin.mysql.fi
32b25cbfce os0file.c:
SHOW INNODB STATUS always showed average bytes read as 0 in Unix
2002-10-06 14:53:49 +03:00
heikki@hundin.mysql.fi
cc1db6142f btr0cur.c:
Do not let range estimator to return over 1 / 2 of total rows in table; use longlong in range estimation
btr0cur.h, ha_innobase.cc:
  Use longlong in range estimation, in case there are > 4 billion rows
2002-10-05 22:23:51 +03:00
heikki@hundin.mysql.fi
9f9dc3adac lock0lock.c:
Fix bug: if SHOW INNODB STATUS or innodb_monitor printed several hundred transactions, the output was truncated and we forgot to release the kernel mutex
2002-10-03 23:07:32 +03:00
heikki@hundin.mysql.fi
4753ea60b0 os0thread.h:
Fix the probable reason why InnoDB versions after July 2, 2002 did not start properly in some Win 95/98/ME computers
2002-10-03 18:10:34 +03:00
heikki@hundin.mysql.fi
43f9ef5d0f lock0lock.c:
Fix bug: the AUTO-INC lock was held to the end of trx if it was granted after a lock wait
2002-10-01 13:47:58 +03:00
heikki@hundin.mysql.fi
a7a24b8a9c row0mysql.c:
Fix typos in previous push
2002-09-13 14:23:09 +03:00
heikki@hundin.mysql.fi
69f571db0c row0mysql.c:
Allow CREATE TABLE and DROP TABLE even if innodb_force_recovery is used, the user can drop a problematic table
2002-09-13 13:55:25 +03:00
heikki@hundin.mysql.fi
db8f4fd3d2 srv0srv.c, srv0srv.h:
Change srv_flush_log_at_trx_commit to ulint, note that ibool is defined as ulint, so this is purely formal change
os0file.c:
  Start using unbuffered i/o again in Windows because sequential read using normal i/o was 4 times slower in XP
2002-09-11 16:07:52 +03:00
heikki@hundin.mysql.fi
a9391f3cb5 os0file.c:
Fix a typo: should be buf_page_print
2002-09-10 13:06:14 +03:00
heikki@hundin.mysql.fi
8192d040c2 trx0undo.c:
Remove an assertion in trx0undo.c which could erroneously fail when we ran out of tablespace
2002-09-09 02:12:57 +03:00
heikki@hundin.mysql.fi
51f83ae199 sync0arr.c:
Increase max latch wait time to 600 seconds before we assert
2002-09-08 03:04:39 +03:00
heikki@hundin.mysql.fi
deedcb3a72 btr0cur.c:
Remove long latch hold which happened if we scanned long an index without finding any record visible to the current consistent read
2002-09-08 03:01:53 +03:00
heikki@hundin.mysql.fi
6cc7c5984b os0sync.c:
Add diagnostics to track why a semaphore creation failed on Windows ME
2002-09-08 00:21:13 +03:00
heikki@hundin.mysql.fi
d7bf8c2e6e srv0srv.c:
The option (= default) innodb_fast_shutdown did not always make the shutdown quickly, fix that
2002-09-07 23:37:27 +03:00
heikki@hundin.mysql.fi
42d46eb9ee os0file.c:
Put 'last millisecond' test to make sure page checksum errors do not result from memory corruption in InnoDB
os0thread.c, configure.in:
  Make sure stack size in InnoDB threads in AIX is at least 32 kB
2002-08-25 10:26:40 +03:00
heikki@hundin.mysql.fi
8b637ac406 lexyy.c, pars0grm.c, pars0lex.l, pars0grm.y:
Remove potential memory leak caused by redefined alloca, remove include of unistd.h to allow compilation on Windows
2002-08-24 01:07:50 +03:00
heikki@hundin.mysql.fi
df5d7a5b91 row0mysql.c, ha_innobase.cc:
Improved error message for out-of-sync frm files
2002-08-23 10:52:24 +03:00
heikki@hundin.mysql.fi
4bdaf9c2c9 pars0grm.h, pars0grm.c, lexyy.c:
The lexer of InnoDB to 8-bit, it was 7-bit which made it crash on table names containing char codes > 127
pars0lex.l, pars0grm.y:
  Add InnoDB internal SQL interpreter grammar and lexer sources
2002-08-22 13:33:45 +03:00
monty@hundin.mysql.fi
48e20a0be2 Portability fixes for HPUX and Openbsd 2002-08-18 16:07:19 +03:00
heikki@hundin.mysql.fi
a101405b03 os0thread.h, os0thread.c:
Fix a critical portability bug introduced in the Windows version
2002-08-13 01:22:27 +03:00
serg@sergbook.mysql.com
7cbe8b369a put InnoDB HANDLER patch back again :)) 2002-08-12 16:18:37 +02:00
serg@sergbook.mysql.com
efe85086c6 undo InnoDB HANDLER patch as it should not go into 3.23 tree 2002-08-12 15:11:58 +02:00
heikki@hundin.mysql.fi
1239863b64 trx0trx.h, trx0trx.c, ha_innobase.cc, ha_innobase.h:
Add tentative code which can be used in HANDLER implementation for InnoDB
2002-08-12 00:17:39 +03:00
heikki@hundin.mysql.fi
bee3f072e4 ha_innobase.cc, ut0ut.c, univ.i, ut0ut.h:
Redefine sprintf as ut_sprintf inside InnoDB code; some old Unixes may have a pointer as the return type of sprintf
lock0lock.c:
  Add safety against buffer overruns in latest deadlock info
srv0srv.c:
  Add safety against buffer overruns in SHOW INNODB STATUS
os0thread.h, os0thread.c:
  Fix a portability bug introduced in Windows when we changed os_thread_id_t to be the same as os_thread_t
2002-08-11 18:49:47 +03:00
heikki@hundin.mysql.fi
edf3929cd5 ha_innobase.cc, trx0trx.h, lock0lock.c, trx0trx.c:
Add some more safety margin to buffer sizes in prints
2002-08-09 15:34:23 +03:00
heikki@hundin.mysql.fi
042facc475 Many files:
Merge InnoDB-3.23.52d
2002-08-06 22:59:13 +03:00
heikki@hundin.mysql.fi
c282b73ad8 os0thread.c:
Remove the complex typecast used to convert a HP-UX pthread struct to os_thread_id_t; the typecast seemed to work wrong in gcc-3.1 on HP-UX-10.20
2002-08-03 21:53:42 +03:00
heikki@hundin.mysql.fi
7b4869d9a4 Many files:
Merge InnoDB-3.23.52c
ha_innobase.cc:
  Test the ref length sanity also in the production version
2002-08-02 23:16:19 +03:00
monty@hundin.mysql.fi
4f56ed82ec Innodb fixes:
Added back 'static inline', as not having this caused more problems than having it
Fixed wrong arguments to printf()
2002-08-01 00:37:27 +03:00
monty@hundin.mysql.fi
6899a4e30b Fixed wrong printf() string in InnoDB
Removed some compiler warnings regarding 'static' from InnoDB
2002-07-31 18:02:24 +03:00
heikki@hundin.mysql.fi
bbb8125a2c Many files:
Merge InnoDB-3.23.52c; improve AUTO-INC algorithm with SHOW TABLE STATUS; new checksum in log
2002-07-31 00:47:20 +03:00
heikki@hundin.mysql.fi
1ea4690b70 dyn0dyn.ic, dyn0dyn.h:
Backport the AIX crash fix changes from 4.0
2002-07-26 18:25:16 +03:00
heikki@hundin.mysql.fi
4b2f5cce80 row0vers.c:
Add diagnostic code to track a probable table corruption reported by a user
2002-07-25 22:51:43 +03:00
heikki@hundin.mysql.fi
07711a6ead os0thread.c, configure.in:
Make the typecast trick pthread_t -> os_thread_id_t safer, but a full fix needs usage of appropriate Posix functions
2002-07-23 04:24:09 +03:00
heikki@hundin.mysql.fi
8dd4327ff8 univ.i:
Fix a bug in the storage of the SQL NULL value in 64-bit computers: the value code must fit in 32 bits
2002-07-23 01:59:43 +03:00
heikki@hundin.mysql.fi
f753fdd32f row0ins.c:
Move the assertion in foreign keys to the right place
2002-07-21 13:17:49 +03:00
heikki@hundin.mysql.fi
3c29c48964 dict0dict.c:
Revert the test changes to wait for a full push of new auto-inc algorithm
2002-07-21 13:09:57 +03:00
heikki@hundin.mysql.fi
51c80faed2 row0ins.c:
Do not perform ON DELETE action for a FOREIGN KEY constraint if we are doing an UPDATE, not a DELETE
dict0dict.c:
  test
2002-07-21 12:58:14 +03:00
heikki@hundin.mysql.fi
5b76647205 fil0fil.c:
Align a buffer for i/o from a raw device
2002-07-19 18:49:25 +03:00
heikki@hundin.mysql.fi
d7f2152b9e os0file.c:
Fix a bug in the previous commit change and align also the buffer in simulataled aio for possible use in i/o to raw devices
2002-07-19 17:09:40 +03:00
heikki@hundin.mysql.fi
2568a3b762 os0file.c:
Align the buffer used in initing a data file to zero; this may be needed if the data file is actually a raw device
2002-07-19 08:33:52 +03:00
heikki@hundin.mysql.fi
80e14f5b51 os0thread.h, srv0srv.c:
Increase max number of waiting threads to 10000 and put diagnostic prints if this value is exceeded
2002-07-16 13:59:24 +03:00
heikki@hundin.mysql.fi
f5dfd7e41c row0mysql.c:
Forgot to release an x-latch in DROP DATABASE
2002-07-10 19:55:27 +03:00
heikki@hundin.mysql.fi
0f0f9176b4 srv0srv.c:
Protect InnoDB monitor with a mutex
2002-07-09 18:13:59 +03:00
heikki@hundin.mysql.fi
7dce4bd340 srv0srv.c:
Remove debug code
2002-07-08 20:08:16 +03:00
heikki@hundin.mysql.fi
f96f69e403 srv0srv.c:
Eliminate potential division by zero
2002-07-08 20:04:10 +03:00