summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <evgen@moonbone.local>2006-06-21 01:14:53 +0400
committerunknown <evgen@moonbone.local>2006-06-21 01:14:53 +0400
commit6ddd15adb9c79bab5e053fe9dcd1861c04ed2b91 (patch)
treed584153aae2c21dd0b5bfda201febaab9dde9b2e /sql/field.h
parent68116c4d377c437d4e3737f76b30f81fae55edb1 (diff)
downloadmariadb-git-6ddd15adb9c79bab5e053fe9dcd1861c04ed2b91.tar.gz
field.cc, field.h:
Additional fix for #16377 for bigendian platforms sql_select.cc, select.result, select.test: After merge fix mysql-test/t/select.test: After merge fix mysql-test/r/select.result: After merge fix sql/sql_select.cc: After merge fix sql/field.h: Additional fix for #16377 for bigendian platforms sql/field.cc: Additional fix for #16377 for bigendian platforms
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/field.h b/sql/field.h
index e7b7aa45c27..ed13372df71 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -813,7 +813,7 @@ public:
if ((*null_value= is_null()))
return 0;
#ifdef WORDS_BIGENDIAN
- if (table->s->db_low_byte_first)
+ if (table && table->s->db_low_byte_first)
return sint4korr(ptr);
#endif
long tmp;