1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Changed prototype of killed_ptr() to make it more portable

Applied patches for Netware
This commit is contained in:
monty@mysql.com
2004-05-26 19:12:49 +03:00
parent 2709f91947
commit 7d8f8bc77b
24 changed files with 384 additions and 118 deletions

View File

@@ -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; }