Commit graph

309 commits

Author SHA1 Message Date
heikki@hundin.mysql.fi
62b2b08717 row0ins.c, ha_innodb.cc:
Table hash key len in query cache also includes null char at end
2002-09-22 01:38:48 +03:00
heikki@hundin.mysql.fi
a644b1f6e2 dict0dict.c:
Fix a crash introduced when we grew foreign key comment to 16000 chars
2002-09-21 18:47:56 +03:00
heikki@hundin.mysql.fi
2e0bffb9af srv0srv.c:
Fix typo
2002-09-20 05:50:25 +03:00
heikki@hundin.mysql.fi
f8d44429c5 srv0srv.h, srv0srv.c, row0mysql.c:
Put back a change unintentionally removed in the last 2 pushes
2002-09-20 05:44:41 +03:00
heikki@hundin.mysql.fi
55807d9553 trx0trx.ic, trx0trx.h, srv0srv.h, row0sel.h, dict0mem.h:
Modifications for query cache + trxs, fix of q.c.+ foreign keys
2002-09-20 05:18:55 +03:00
heikki@hundin.mysql.fi
9e493e91e9 Many files:
Modifications for query cache + trxs, fix of q.c.+ foreign keys
os0file.c:
  Use unbuffered i/o in Windows
2002-09-20 05:11:08 +03:00
monty@mashka.mysql.fi
3bb2660d10 Merge with 3.23.53 2002-09-17 05:17:32 +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
monty@mashka.mysql.fi
8b7521eb7f Merge with 3.23.53 2002-09-11 14:49:38 +03:00
monty@mashka.mysql.fi
f3a186c905 Portability fixes.
Improve mysql-test to be more robust.
Fix that GRANT doesn't delete SSL options
Change innobase_flush_log_at_trx_commit to uint.
Don't rotate logs if we read a rotate log entry from the master.
2002-09-11 06:40:08 +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@work.mysql.com
002d1c690a dict0dict.h Put back code inadvertently removed in previous bk commit
dict0dict.c	Put back code inadvertently removed in previous bk commit
2002-09-04 19:01:39 +02:00
heikki@work.mysql.com
a16f3360aa btr0btr.c Add more documentation about B-tree latching
ha_innodb.cc	Remove gaps in auto-inc in multi-row inserts, more space for foreign key listings in SHOW TABLE STATUS, move resetting of active_trx to amore logical place
dict0dict.h	Remove gaps from auto-inc sequence if errors in multi-row insert
dict0dict.c	Remove gaps from auto-inc sequence if errors in multi-row insert
2002-09-04 18:53:48 +02:00
serg@serg.mysql.com
b962da9aab merged 2002-08-31 23:38:10 +00: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
monty@hundin.mysql.fi
791215f16b Merge work:/home/bk/mysql-4.0 into hundin.mysql.fi:/my/bk/mysql-4.0 2002-08-24 16:36:28 +03:00
monty@mashka.mysql.fi
9b67b029ad Portability fix for AIX 4.3 powerpc with gcc 3.2 2002-08-24 16:32:16 +03:00
heikki@hundin.mysql.fi
d3ef9a5b33 lock0lock.c:
Fix a spurious deadlock introduced in the previous fix when next-key locks are requested for a page supremum record
2002-08-24 12:11:37 +03:00
heikki@hundin.mysql.fi
6b6a024eb5 lexyy.c, pars0lex.l, pars0grm.c, pars0grm.y:
Port alloca and Windows fix from 3.23
2002-08-24 01:31:25 +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
fd7106a4b3 lock0lock.c:
Eliminate a spurious deadlock when an insert waits for an update and a second update comes to wait after the insert
2002-08-24 00:21:18 +03:00
monty@hundin.mysql.fi
a9c1508d7e merge with 3.23 tree 2002-08-23 15:18:46 +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
heikki@hundin.mysql.fi
8b61e475f6 lock0lock.h, lock0lock.c:
Remove a spurious deadlock when >= 2 insert transactions have to wait because there is a next-key lock set
2002-08-22 13:22:04 +03:00
monty@hundin.mysql.fi
48e20a0be2 Portability fixes for HPUX and Openbsd 2002-08-18 16:07:19 +03:00
monty@hundin.mysql.fi
a5edb20042 Fixed timing problem with rpl000001 replication test.
Fixed configure problems with HPUX and openbsd
SHOW SLAVE STATUS returns empty set if slave is not initialized
SHOW MASTER STATUS returns empty set if binary logging is not enabled.
Fixed shutdown problem on Solaris.
2002-08-18 16:04:26 +03:00
monty@hundin.mysql.fi
f7c8bd0e47 Portability fixes for 4.0.3 build.
Don't update MyISAM index file on UPDATE if index is not changed
2002-08-17 18:02:56 +03:00
monty@hundin.mysql.fi
5773b6504a Fixed bug in blocking handling when compiling with OPENSSL (caused hangup in client code)
Fixed bug in SELECT DISTINCT ... ORDER BY not-used-column.
Fixed bug in pthread_mutex_trylock with HPUX 11.0
2002-08-17 00:35:51 +03:00
monty@hundin.mysql.fi
c531b43272 merge with 3.23.52 2002-08-13 02:33:25 +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
monty@hundin.mysql.fi
3ef9d44edc merge with 3.23.52 2002-08-12 04:04:43 +03: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
monty@hundin.mysql.fi
087261482a merge with 3.23.52 2002-08-08 15:24:47 +03:00
monty@mashka.mysql.fi
2c4fa340cc Lots of code fixes to the replication code (especially the binary logging and index log file handling)
Fixed bugs in my last changeset that made MySQL hard to compile.
Added mutex around some data that could cause table cache corruptions when using OPTIMIZE TABLE / REPAIR TABLE or automatic repair of MyISAM tables.
Added mutex around some data in the slave start/stop code that could cause THD linked list corruptions
Extended my_chsize() to allow one to specify a filler character.
Extend vio_blocking to return the old state (This made some usage of this function much simpler)
Added testing for some functions that they caller have got the required mutexes before calling the function.
Use setrlimit() to ensure that we can write core file if one specifies --core-file.
Added --slave-compressed-protocol
Made 2 the minimum length for ft_min_word_len
Added variables foreign_key_checks & unique_checks.
Less logging from replication code (if not started with --log-warnings)
Changed that SHOW INNODB STATUS requre the SUPER privilege
More DBUG statements and a lot of new code comments
2002-08-08 03:12:02 +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