petr@mysql.com
038b300753
Fix Bug#14672 Bug in deletion
2005-11-06 02:11:12 +03:00
petr@mysql.com
a1f56ea5a6
Fix Bug#13894 Server crashes on update of CSV table
2005-11-05 15:08:15 +03:00
jimw@mysql.com
16e5f22162
Merge mysqldev@production.mysql.com:jimw/mysql-4.1-sco
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-09-12 10:19:56 -07:00
jimw@mysql.com
121678a72e
When first creating the ARZ file for an archive table, use "wb" as the mode for
...
gzdopen() because the file itself was only opened for writing (and truncated),
and some libc implementations (like SCO) don't like to do a fdopen(..., "a") on
a fd that was not opened using O_APPEND.
2005-09-08 21:40:59 +02:00
brian@zim.(none)
8a5c24536c
Small tweak for random read performance (we shouldn't always tell the OS that we will be doing a linear scan).
2005-09-07 10:30:06 -07:00
msvensson@neptunus.(none)
4b5ca92631
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/mysql-4.1
2005-09-01 09:01:15 +02:00
jimw@mysql.com
c3f4ecb544
Merge mysql.com:/home/jimw/my/mysql-4.1-7156
...
into mysql.com:/home/jimw/my/mysql-4.1-clean
2005-08-31 18:34:16 -07:00
jimw@mysql.com
37bf8394ab
Add test for madvise() being declared in C++ code, because it is not
...
on Solaris even though it is available, and declare it ourselves in
that case. (Bug #7156 )
2005-08-31 10:08:55 -07:00
msvensson@neptunus.(none)
002eb51748
Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1
...
into neptunus.(none):/home/msvensson/mysql/bug12527/my41-bug12527
2005-08-30 10:42:41 +02:00
brian@zim.(none)
4e9931752e
Added support for delete_all_rows() for archive. This fixes bug #12836 .
2005-08-29 15:05:16 -07:00
msvensson@neptunus.(none)
5de2259263
Bug #12527 yassl causes errors in "repair" and "optimize"
...
- Use constant directly to check that enough number of bytes have been written as header of the archive.
2005-08-29 14:04:15 +02:00
kent@mysql.com
7933906325
mysqld.dsp:
...
Added archive and example storage engine to Windows build
ha_example.cc, ha_archive.cc:
Windows fix, use relative include path to "mysql_priv.h"
ha_archive.h:
Windows VC6 compile needed (char*) cast of byte var
mysqltest.dsp, mysql_test_run_new.dsp:
Added /FD flag, to avoid include file warnings
2005-08-18 17:29:24 +02:00
serg@serg.mylan
6a5349028c
a compiler must see '#pragma implementation' *before*
...
'#pragma interface' (that comes with the #include'd header file)
2005-06-05 19:38:52 +02:00
brian@zim.(none)
efb5ed5bab
Merge
2005-06-01 18:48:29 -07:00
kent@mysql.com
bd48eed988
tztime.cc:
...
Set #pragma implementation" earlier
Many files:
Need to include <my_global.h> before #ifdef USE_PRAGMA_IMPLEMENTATION
2005-06-02 02:43:32 +02:00
brian@zim.(none)
ba9b9f8993
Mainly cleanups for gcc 4.0. Some small pieces from looking at -Wall. Removed a number of dumb things in ha_tina.
2005-06-01 17:34:10 -07: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
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
7af65592c7
Merge bk-internal.mysql.com:/home/bk/mysql-4.1
...
into mishka.local:/home/my/mysql-4.1
2004-10-20 02:55:03 +03:00
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
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
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