heikki@hundin.mysql.fi
34346ecfc9
ha_innobase.cc:
...
Backport from 4.0 of the btr0sea.c latch hang fix
2003-07-02 00:08:29 +03:00
monty@mashka.mysql.fi
9f3ade0670
Added missing free for last patch
2003-05-26 06:16:50 +03:00
guilhem@mysql.com
0b875e908f
Fix for #468 [Ver]: SHOW VARIABLES trims innodb_data_file_path
...
(this bug was already fixed in 4.0, I just copied and pasted two lines).
2003-05-23 16:40:21 +02:00
monty@mashka.mysql.fi
9f6aa11769
Changed innobase_flush_log_at_trx_commit to be 1 as default
...
Fixed problem with not freed thr_alarm() on slave connect
2003-04-07 21:36:45 +03:00
heikki@hundin.mysql.fi
613daa0d21
ha_innobase.cc:
...
Fix bug: MySQL could erroneously return Empty set if InnoDB estimated index range size to 0 records though the range was not empty; MySQL also failed to do the next-key locking in the case of an empty index range
2003-03-13 23:10:50 +02:00
heikki@hundin.mysql.fi
a30d3cd847
ha_innobase.cc:
...
Backport from 4.0: fix potential bug if store_lock is called with TL_IGNORE in the middle of a query
2003-02-05 01:42:07 +02:00
heikki@hundin.mysql.fi
d3145a9135
ha_innobase.cc:
...
Backport from 4.0: convert TL_READ_NO_INSERT to TL_READ to allow concurrent inserts to the table in INSERT INTO ... SELECT ... FROM table
2003-01-21 00:44:49 +02:00
heikki@hundin.mysql.fi
7433ffe880
ha_innobase.cc:
...
Backport from 4.0: fix possible adaprive hash index latch hang
2003-01-16 01:13:50 +02:00
heikki@hundin.mysql.fi
e3b6be19cf
ha_innobase.cc:
...
Better error message to help users who created tables with < 3.23.54 where MySQL implicitly added a PRIMARY KEY definition
2002-12-19 20:58:07 +02:00
heikki@hundin.mysql.fi
5c3c4d3721
row0mysql.c, dict0dict.c, db0err.h, ha_innobase.cc:
...
Heikki will merge to 4.0: Prevent listing the same column twice in an InnoDB index: that will cause index corruption when that col is UPDATEd
2002-12-05 22:03:24 +02:00
heikki@hundin.mysql.fi
541c40b000
ha_innobase.cc:
...
Backport of bug fix in 4.0: do not x-lock rows under LOCK TABLES READ unless the table is a temp table
2002-11-19 17:08:07 +02:00
heikki@hundin.mysql.fi
629576aff6
ha_innobase.cc:
...
Backport from 4.0: Fix bug in MySQL-3.23 ORDER BY from a table with no PRIMARY KEY and where the user had added UNIQUE indexes with CREATE INDEX
pars0grm.y:
Move inclusion of math.h after univ.i also in the .y file; this fix is already done in 4.0
2002-10-31 00:30:19 +02:00
heikki@hundin.mysql.fi
95cecad7d8
ha_innobase.cc:
...
Fix bug: if skip-innodb was defined SHOW INNODB STATUS crashed
2002-10-09 19:52:34 +03:00
heikki@hundin.mysql.fi
2d148b977e
ha_innobase.cc:
...
test
2002-10-08 15:17:41 +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
cbd9978b3f
ha_innobase.cc:
...
Remove unintentionally pushed assert
2002-10-03 19:48:24 +03:00
heikki@hundin.mysql.fi
609524817f
ha_innobase.cc, ha_innobase.h:
...
Backport from 4.0.4 the bug fix of the crash when a temporary table was created inside LOCK TABLES and used
2002-10-03 19:10:49 +03:00
heikki@hundin.mysql.fi
e63f6cd2c5
ha_innobase.cc:
...
Cleanup after last push
2002-09-10 14:31:46 +03:00
heikki@hundin.mysql.fi
48063238e2
mysqld.cc:
...
update help innobase_flush_log_at_trx_commitcan have vals 0, 1, 2
ha_innobase.h, ha_innobase.cc:
make innobase_flush_log_at_trx_commit a long, like other params
2002-09-10 14:23:46 +03:00
heikki@hundin.mysql.fi
44a43fce68
ha_innobase.cc, ha_innobase.h:
...
innodb_flush_log_at_trx_commit can have values 0, 1, 2 starting from 3.23.52
2002-09-10 00:52:26 +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
49f658281f
ha_innobase.h, ha_innobase.cc:
...
Put a note that the InnoDB HANDLER code is not used until 4.1, and appears for documentational purposes only
2002-08-12 17:31:57 +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
389d730d03
ha_innobase.cc:
...
Cleanup of latest rewrite of innobase_mysql_print_thd; from now on changing this code is forbidden unless a written permission is received from Heikki 3 days in advance
2002-08-12 08:29:15 +03:00
monty@hundin.mysql.fi
4dfe327a06
Fix after merge
2002-08-12 06:49:28 +03:00
monty@hundin.mysql.fi
d825808a72
merge
2002-08-12 03:40:36 +03:00
monty@hundin.mysql.fi
b779b63862
Fixed problem with BIGINT and shutdown on AIX
...
Moved IF(test,column,NULL) code to 4.0
Changed mysys_priv.h to include my_pthread.h or my_no_pthread.h.
Removed some CR's in os2 files.
2002-08-12 03:28:02 +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
heikki@hundin.mysql.fi
933417c1fe
ha_innobase.cc:
...
Found the bug in modified innobase_mysqld_print_thd; the person who modifies code should test that his change works
2002-08-09 15:06:59 +03:00
heikki@hundin.mysql.fi
6e87dc118c
ha_innobase.cc:
...
Revert changes to sprintf until we know why control characters scrambled the output
2002-08-09 10:17:54 +03:00
monty@hundin.mysql.fi
1a264ceb34
Reverted Heikkis patch as his was not portable.
...
Remove not needed locks in SHOW OPEN TABLES
2002-08-08 21:43:46 +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
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
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
e61c448039
ha_innobase.cc:
...
Since MySQL commits the stmt always at the end of an INSERT, it is enough to release auto-inc lock at innobase_commit and innobase_rollback; add also more comments to code
2002-07-30 13:12:09 +03:00
heikki@hundin.mysql.fi
4c7ac5742f
ha_innobase.h, ha_innobase.cc:
...
procinfo -> proc_info to make ha_innobase.cc to compile, add more comments about ref
2002-07-30 02:07:01 +03:00
monty@mashka.mysql.fi
1d6c06aff3
Fixed wrong usage of return value of sprintf() (From prev change set)
2002-07-29 09:40:04 +03:00
monty@mashka.mysql.fi
d686ef729f
Merge of ha_innobase.cc from 4.0; This fixes that MySQL doesn't allocate too big buffers when sorting innobase rows
...
Changed name of variables
NO_FOREIGN_KEY_CHECKS -> FOREIGN_KEY_CHECKS
RELAXED_UNIQUE_CHECKS -> UNIQUE_CHECKS
to avoid confusion with 'not...' variables.
Write name of adminstrator command to slow log.
Added mysqldumpslow to RPM
2002-07-29 09:35:25 +03:00
monty@mashka.mysql.fi
d909f4a551
Fix wrong usage of constant which could cause mysqld to use index when doing an update/delete on small tables.
...
code cleanup
2002-07-19 21:57:53 +03:00
heikki@hundin.mysql.fi
7390d81f43
Many files:
...
Merge InnoDB-3.23.52b
2002-07-08 19:34:49 +03:00
heikki@hundin.mysql.fi
21c66e37ae
ha_innobase.cc:
...
Remove a debug printf which unintentionally was committed to the source tree
2002-07-03 03:39:10 +03:00
heikki@hundin.mysql.fi
17c29de612
ha_innobase.cc:
...
Clarify the setting of innodb_data_file_path in my.cnf: it is in the [mysqld] section
2002-07-03 03:29:30 +03:00
heikki@hundin.mysql.fi
8056af30e4
ha_innobase.cc:
...
Use current_thd to check if a transaction is done by a slave thread
2002-06-22 20:33:48 +03:00
heikki@hundin.mysql.fi
2944720cc6
ha_innobase.cc:
...
Merge 3.23.52
2002-06-22 20:11:01 +03:00
heikki@hundin.mysql.fi
b088e1bf1f
ha_innobase.cc:
...
Fix an assertion failure in ha_innobase.cc about line 302 when a user has used user level locks and closes a connection; this was reported by Jeremy Zawodny
2002-05-29 14:04:19 +03:00
monty@hundin.mysql.fi
dfd7f455e4
Fixed help typos in mysql.cc
2002-04-02 17:42:01 +03:00
heikki@hundin.mysql.fi
e90a57aa49
Many files:
...
Merge InnoDB-3.23.50
2002-03-21 18:03:09 +02:00