guilhem@mysql.com
40a2e968f9
new static archive_inited variable, so that archive_db_end() will do something only if archive_db_init() was run before
...
(protection against destroying uninited mutex in the case where mysqld fails early at startup (before archive_db_init() was called)
and then calls archive_db_end() to clean up).
2005-02-12 19:17:33 +01:00
brian@zim.(none)
6471b65ad0
Removed duplicate close call and added archive to the debug build and test.
2005-01-31 12:17:34 -08:00
brian@zim.(none)
69de46a8de
Merge baker@bk-internal.mysql.com:/home/bk/mysql-4.1
...
into zim.(none):/home/brian/mysql/mysql-4.1
2005-01-28 18:10:47 -08:00
brian@zim.(none)
b484e29231
Cleanup for lost file descriptors on close table for ha_archive.
2005-01-28 16:43:10 -08: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
jimw@mysql.com
699cb2c066
Fix style nit
2005-01-11 01:01:35 +01:00
jimw@mysql.com
2347e386d7
Fix double-initalization of mutex in archive storage engine. (Bug #7762 )
2005-01-10 23:59:28 +01:00
brian@avenger.(none)
f30049f411
Fix for crummy compiler that didn't udnerstand for declaration. Another fix for example storage engine to pass, not skip, test.
2004-12-06 16:26:05 -08:00
monty@mishka.local
719c88e38f
true,false -> TRUE, FALSE
...
Simple fixes/optimization of things discovered during review of new pushed code
2004-10-14 18:03:46 +03: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
brian@brian-akers-computer.local
943142e126
Updates for archive storage engine.
2004-07-20 13:25:55 -07:00
bar@mysql.com
d54157f0d8
ha_archive.cc:
...
Memory was used after it has been alreay freed.
This led to server crash on FreeBSD.
2004-07-07 13:47:29 +05: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)
72e7d69674
Added tests for archive. Cleaned up a merge mistake and added some information on how well archive compresses.
2004-05-25 13:27:01 -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