dlenev@brandersnatch.localdomain
391a086d52
Fix for broken --with-csv-storage-engine build.
...
Now we use TABLE::timestamp_field_type instead of
TABLE::timestamp_default_now/on_update_now for determining
if we should auto-set value of TIMESTAMP field during this operation.
We are also use Field_timestamp::set_time() instead of
handler::update_timestamp().
2004-10-18 10:32:52 +04: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
sergefp@mysql.com
13fdbc99cf
Fix for BUG#5117:
...
* Renamed handler::estimate_number_of_rows to handler::estimate_rows_upper_bound function, which can also return "unknown"
* made filesort to use full sort buffer if number of rows to sort is not known.
2004-09-13 06:14:25 +04:00
monty@mysql.com
f585ccb2ab
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mysql.com:/home/my/mysql-4.1
2004-08-23 13:47:52 +03: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@avenger.(none)
f3fb5f8399
Fix for not compiling ha_tina.
2004-08-17 01:29:19 -07:00
brian@avenger.(none)
1fe8b35bba
This is the addition of the CSV engine "aka tina". Its an example engine that works as a plain text file.
2004-08-12 20:57:18 -07:00
brian@brian-akers-computer.local
943142e126
Updates for archive storage engine.
2004-07-20 13:25:55 -07: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
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@brian-akers-computer.local
00bd872d41
Resolving merge issues between archive and most recent changes by Monty/NDB
2004-05-21 10:06:49 -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
brian@brian-akers-computer.local
bab1dc82c7
Updating range_in_rows for the include file for ha_example (the main .cc file has already been updated).
2004-05-18 09:54:36 -07:00
monty@mishka.local
314a8bf114
key_cmp -> key_cmp_if_same
...
New records_in_range() interface (similar to read_range())
Macros for faster bitmap handling
Simplify read_range() code (#WL1786)
New general key_cmp() function to compare keys
2004-05-16 14:48:32 +03:00
brian@brian-akers-computer.local
346ae5fe33
Added comments to all methods. Added explanation for a sequential read through a storage engine.
2004-05-11 15:59:20 -07:00
brian@brian-akers-computer.local
4d5a8cb78c
All changes are to allow someone to compile the example storage engine and use it.
2004-04-12 21:01:45 -07:00
brian@brian-akers-computer.local
abb40bace9
ha_example.h:
...
Fixed spelling of example share and fxed indention.
ha_example.cc:
Fixed spelling of example and removed a few unneeded printf pieces.
my_base.h:
Adde HA_ERR_NOT_IMPLEMENTED at Monty's request
2004-04-05 22:57:53 -07:00
brian@brian-akers-computer.local
dfba8cdf50
First commit of the skeleton storage engine. Use this example as a template to build storage engines. Also includes a new degine for marking storage engine methods as not being implemented.
2004-04-01 01:02:42 -08:00