Commit e1248f4f authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
Variable_name	Value
have_exampledb	YES
have_example_engine	YES
+2 −1
Original line number Diff line number Diff line
@@ -528,6 +528,7 @@ int ha_archive::create(const char *name, TABLE *table_arg,
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();