mirror of
https://github.com/MariaDB/server.git
synced 2026-04-22 08:15:31 +02:00
Fix for crummy compiler that didn't udnerstand for declaration. Another fix for example storage engine to pass, not skip, test.
mysql-test/r/have_exampledb.require: Fix for test for examples. sql/examples/ha_archive.cc: Fix for compiler that had problem with ANSI C.
This commit is contained in:
parent
8ec6cf2cd5
commit
e1248f4fc3
2 changed files with 3 additions and 2 deletions
|
|
@ -1,2 +1,2 @@
|
|||
Variable_name Value
|
||||
have_exampledb YES
|
||||
have_example_engine YES
|
||||
|
|
|
|||
|
|
@ -528,6 +528,7 @@ error:
|
|||
int ha_archive::write_row(byte * buf)
|
||||
{
|
||||
z_off_t written;
|
||||
Field_blob **field;
|
||||
DBUG_ENTER("ha_archive::write_row");
|
||||
|
||||
statistic_increment(ha_write_count,&LOCK_status);
|
||||
|
|
@ -543,7 +544,7 @@ int ha_archive::write_row(byte * buf)
|
|||
We should probably mark the table as damagaged if the record is written
|
||||
but the blob fails.
|
||||
*/
|
||||
for (Field_blob **field=table->blob_field ; *field ; field++)
|
||||
for (field= table->blob_field ; *field ; field++)
|
||||
{
|
||||
char *ptr;
|
||||
uint32 size= (*field)->get_length();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue