diff options
author | monty@mysql.com <> | 2004-05-26 19:12:49 +0300 |
---|---|---|
committer | monty@mysql.com <> | 2004-05-26 19:12:49 +0300 |
commit | 7d8f8bc77bd58b0a527a3874cda55311a068d05b (patch) | |
tree | 45397c78051c557e55bc9b5df93c68604da6a451 /sql/sql_bitmap.h | |
parent | 2709f91947ab50ab206c523e97636b82ee89b9d3 (diff) | |
download | mariadb-git-7d8f8bc77bd58b0a527a3874cda55311a068d05b.tar.gz |
Changed prototype of killed_ptr() to make it more portable
Applied patches for Netware
Diffstat (limited to 'sql/sql_bitmap.h')
-rw-r--r-- | sql/sql_bitmap.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_bitmap.h b/sql/sql_bitmap.h index 0274cd700da..96570c508e6 100644 --- a/sql/sql_bitmap.h +++ b/sql/sql_bitmap.h @@ -91,7 +91,16 @@ template <> class Bitmap<64> ulonglong map; public: Bitmap<64>() { } +#if defined(__NETWARE__) + /* + Metwork compiler gives error on Bitmap<64> + Changed to Bitmap, since in this case also it will proper construct + this class + */ + explicit Bitmap(uint prefix_to_set) { set_prefix(prefix_to_set); } +#else explicit Bitmap<64>(uint prefix_to_set) { set_prefix(prefix_to_set); } +#endif void init() { } void init(uint prefix_to_set) { set_prefix(prefix_to_set); } uint length() const { return 64; } |