summaryrefslogtreecommitdiff
path: root/sql/examples/ha_tina.cc
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2005-01-06 18:34:17 -0800
committerunknown <brian@zim.(none)>2005-01-06 18:34:17 -0800
commitc0e6e8792667782df5b8b90d25e34c1c9bf4d588 (patch)
tree1b2ab7a08ceba90809770076f743f1dfd4eeaccc /sql/examples/ha_tina.cc
parentfb0f6c9de1d2f9ee027a0a0e34644689bdf2320b (diff)
downloadmariadb-git-c0e6e8792667782df5b8b90d25e34c1c9bf4d588.tar.gz
Updates for Monty's changes in the table structure. All tests pass currently.
Seems like such a short commit message... sql/examples/ha_archive.cc: Updates for Monty's change to table structures. The way the loop through blobs worked has changed. sql/examples/ha_tina.cc: Update for monty's change in table structures. Only used for copying null bytes.
Diffstat (limited to 'sql/examples/ha_tina.cc')
-rw-r--r--sql/examples/ha_tina.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/examples/ha_tina.cc b/sql/examples/ha_tina.cc
index 39573a8f54c..46a22614566 100644
--- a/sql/examples/ha_tina.cc
+++ b/sql/examples/ha_tina.cc
@@ -375,7 +375,7 @@ int ha_tina::find_current_row(byte *buf)
}
next_position= (end_ptr - share->mapped_file)+1;
/* Maybe use \N for null? */
- memset(buf, 0, table->null_bytes); /* We do not implement nulls! */
+ memset(buf, 0, table->s->null_bytes); /* We do not implement nulls! */
DBUG_RETURN(0);
}