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
commit406a7ba99209dd65a6974f2689fc92541ccf4450 (patch)
treed584153aae2c21dd0b5bfda201febaab9dde9b2e /sql/field.h
parent5805bba62cc0e081bf652f8eb8f6aa40cc7eb052 (diff)
downloadmariadb-git-406a7ba99209dd65a6974f2689fc92541ccf4450.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;