summaryrefslogtreecommitdiff
path: root/innobase/include/row0mysql.h
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2002-01-28 22:18:49 +0200
committerheikki@donna.mysql.fi <>2002-01-28 22:18:49 +0200
commit0c87ad9f8a23a9f36aa21aef4bd852b325245fc3 (patch)
treeaa7f771761883b28925048ff5e37e2eb85d77c00 /innobase/include/row0mysql.h
parentd927ff75dc34f0c8b684d381339670a2c2819bc9 (diff)
downloadmariadb-git-0c87ad9f8a23a9f36aa21aef4bd852b325245fc3.tar.gz
Many files:
Merge InnoDB-.48
Diffstat (limited to 'innobase/include/row0mysql.h')
-rw-r--r--innobase/include/row0mysql.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/innobase/include/row0mysql.h b/innobase/include/row0mysql.h
index 32354219e64..0346299bb10 100644
--- a/innobase/include/row0mysql.h
+++ b/innobase/include/row0mysql.h
@@ -323,11 +323,18 @@ struct mysql_row_templ_struct {
/* After fetching this many rows, we start caching them in fetch_cache */
#define MYSQL_FETCH_CACHE_THRESHOLD 4
+#define ROW_PREBUILT_ALLOCATED 78540783
+#define ROW_PREBUILT_FREED 26423527
/* A struct for (sometimes lazily) prebuilt structures in an Innobase table
handle used within MySQL; these are used to save CPU time. */
struct row_prebuilt_struct {
+ ulint magic_n; /* this magic number is set to
+ ROW_PREBUILT_ALLOCATED when created
+ and to ROW_PREBUILT_FREED when the
+ struct has been freed; used in
+ debugging */
dict_table_t* table; /* Innobase table handle */
trx_t* trx; /* current transaction handle */
ibool sql_stat_start; /* TRUE when we start processing of