summaryrefslogtreecommitdiff
path: root/sql/unireg.h
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
committermonty@donna.mysql.com <>2001-01-16 06:02:05 +0200
commitc1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7 (patch)
treed2fb03ef30e8182ca60cf1262a5a9db0e97a08a5 /sql/unireg.h
parent3857c6a31c546f4a0bf016c51b8936b640267d72 (diff)
downloadmariadb-git-c1b5a5b00fb0f72ab34211cc42cf6b567f19d0f7.tar.gz
Removed not used variable 'last_ref'
Fixed problem with negative DECIMAL() keys Fixed some bugs with NULL keys in BDB More mysql-test tests
Diffstat (limited to 'sql/unireg.h')
-rw-r--r--sql/unireg.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/unireg.h b/sql/unireg.h
index 9f078ef3766..7ad3bac2eab 100644
--- a/sql/unireg.h
+++ b/sql/unireg.h
@@ -105,12 +105,6 @@ bmove_allign((A)->record[0],(A)->record[2],(size_t) (A)->reclength); \
bfill((A)->null_flags,(A)->null_bytes,255);\
}
-#if MAX_REFLENGTH == 4
-#define TEST_IF_LASTREF(A,B) ((long) *((int32*) (A)) == -1L)
-#else
-#define TEST_IF_LASTREF(A,B) (bcmp(A,last_ref,B) == 0)
-#endif
-
/* Defines for use with openfrm, openprt and openfrd */
#define READ_ALL 1 /* openfrm: Read all parameters */