1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03: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:
unknown
2004-12-06 16:26:05 -08:00
parent 8ec6cf2cd5
commit e1248f4fc3
2 changed files with 3 additions and 2 deletions

View File

@@ -1,2 +1,2 @@
Variable_name Value
have_exampledb YES
have_example_engine YES

View File

@@ -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();