Commit e1248f4f authored by unknown's avatar unknown

Fix for crummy compiler that didn't udnerstand for declaration. Another fix...

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.
parent 8ec6cf2c
Variable_name Value Variable_name Value
have_exampledb YES have_example_engine YES
...@@ -528,6 +528,7 @@ error: ...@@ -528,6 +528,7 @@ error:
int ha_archive::write_row(byte * buf) int ha_archive::write_row(byte * buf)
{ {
z_off_t written; z_off_t written;
Field_blob **field;
DBUG_ENTER("ha_archive::write_row"); DBUG_ENTER("ha_archive::write_row");
statistic_increment(ha_write_count,&LOCK_status); statistic_increment(ha_write_count,&LOCK_status);
...@@ -543,7 +544,7 @@ int ha_archive::write_row(byte * buf) ...@@ -543,7 +544,7 @@ int ha_archive::write_row(byte * buf)
We should probably mark the table as damagaged if the record is written We should probably mark the table as damagaged if the record is written
but the blob fails. but the blob fails.
*/ */
for (Field_blob **field=table->blob_field ; *field ; field++) for (field= table->blob_field ; *field ; field++)
{ {
char *ptr; char *ptr;
uint32 size= (*field)->get_length(); uint32 size= (*field)->get_length();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment