konstantin@mysql.com
14344b658a
A fix and a test case for Bug#10760 and complementary cleanups.
...
The idea of the patch
is that every cursor gets its own lock id for table level locking.
Thus cursors are protected from updates performed within the same
connection. Additionally a list of transient (must be closed at
commit) cursors is maintained and all transient cursors are closed
when necessary. Lastly, this patch adds support for deadlock
timeouts to TLL locking when using cursors.
+ post-review fixes.
2005-07-19 22:21:12 +04:00
brian@brian-akers-computer.local
054e0e1712
Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0
...
into brian-akers-computer.local:/Users/brian/mysql/optimize-5.0
2005-07-10 22:27:36 -07:00
brian@brian-akers-computer.local
85e2b662bf
Refactoring of write_row() into two parts to allow future additions. Also rewrote the OPTIMIZE TABLE code, to add new extended optimize. This form of optimize rebuilds not only the file, but each individual row.
2005-07-10 18:19:37 -07:00
brian@zim.(none)
9bd74f7e81
Fixed indention issue, made scan_rows an ha_rows type, and fixed show table status so archive rows are displayed as being compressed.
2005-07-09 08:57:08 -07:00
jimw@mysql.com
f2b0874f80
Clean up warnings and build problems on Windows. (Bug #11045 )
2005-06-18 01:55:42 +02:00
kent@mysql.com
bedc2e3d4c
ha_archive.cc:
...
Use local seach path for "mysql_priv.h"
mysqld.dsp:
Added the ARCHIVE storage engine to max
ha_archive.h:
VC6, but not VC7, needs a cast of byte[] to char* to make
the compile select the right conversion function in String
2005-05-24 18:51:53 +02:00
msvensson@neptunus.(none)
34cec09efb
Merge neptunus.(none):/home/msvensson/mysql/bug10241
...
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
2005-05-09 11:26:48 +02:00
msvensson@neptunus.(none)
5b5565c30a
BUG#10241 cygwin port: invalid pragma interface directives
...
- Introduce ifdefs so we can control when to use #pragma interface on cygwin
2005-05-04 15:05:56 +02:00
msvensson@neptunus.(none)
9969e1c5ea
BUG#9911 After review fixes
...
- Remove ha_archive::rename_table and move the fix to handler::rename_table
2005-04-28 10:49:18 +02:00
msvensson@neptunus.(none)
8d370fbcf9
BUG#9911 RENAME TABLE of type ARCHIVE fails with .ARN file error
...
- Implemented ha_archive::rename_table
- Added testcases for rename
2005-04-26 11:35:52 +02:00
serg@serg.mylan
3f7355dfef
making XA tree to compile (and pass tests) in -max build
2005-02-17 22:52:40 +01:00
ingo@mysql.com
bbcd542917
Merge from 4.1
...
Archive fix by Ingo.
Innodb compile fix by Monty.
2005-01-26 15:51:46 +01:00
ingo@mysql.com
5ad151aa21
Test Bug: Memory leaks in the archive handler.
...
Moved initialization code into a new init function.
Added a new cleanup function.
Added a call to close the meta file.
2005-01-26 15:27:31 +01:00
brian@avenger.(none)
c8137bbb80
A few simple fixes plus the added support of being able to repair the meta data file via REPAIR TABLE. More information is now provided in SHOW TABLE STATUS.
2004-12-09 01:48:07 -08:00
brian@avenger.(none)
75b4c32c8e
Removed need for storage engines to write a default external_lock() call.
2004-12-06 00:55:58 -08:00
brian@avenger.(none)
e6f038eacf
Changes to support optimized bulk inserts. This will solve the problem of selects occurring during a bulk insert, and causing the compression factor to drop.
2004-11-30 02:52:14 -08:00
brian@avenger.(none)
15735b241f
Adding support for archive to handle delayed inserts.
2004-11-29 01:40:25 -08:00
brian@avenger.(none)
73addb4de3
Remove build errors introduced by 5.0 changes.
...
Removed duplicate code where defaults in handler.h will work just as well.
2004-11-05 22:49:15 -08:00
brian@brian-akers-computer.local
c9e6ad2cc1
Clean up from Bar and Antony code review. Found an issue with the header file were it could end up corrupted.
2004-10-06 23:26:40 -07:00
brian@brian-akers-computer.local
97cf755a26
Row level lock code for the archive storage engine.
2004-10-05 01:40:00 -07:00
brian@brian-akers-computer.local
9dbe9d533e
The major change for this changeset is the addition of code to handle:
...
OPTIMIZE TABLE <archive table>
This recompresses the table, thus removing any additional gzip headers caused by opening/closing or flushing the table.
2004-09-21 03:33:22 +02:00
monty@mysql.com
309d691e65
Changed %lx -> 0x%lx (for easier comparison of debug files)
...
Cosmetic cleanups
Don't call 'delete_elements' on copy_funcs as this causes elements to be freed twice
2004-08-23 13:46:51 +03:00
monty@mysql.com
db7efa2780
New handler::index_flags() definition to make it easy to check the full used key and a specific key part.
...
Added key part to optimize_range() to fix problems when using fields in key parts.
2004-07-08 15:45:25 +03:00
serg@serg.mylan
9f45c9e399
followup to handler cleanup
2004-06-23 21:26:34 +02:00
brian@brian-akers-computer.local
589480e879
Last patch before push into main tree. Updated from code review and final once over.
...
A couple of small changes to ha_example (mainly comments).
2004-06-07 02:06:33 -07:00
brian@avenger.(none)
467cad0bfc
First commit of archive example. Archive is a simple storage engine that handles inserts and selects.
2004-05-20 18:13:11 -07:00