1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
sql/item_create.cc:
  Auto merged
sql/item_func.h:
  Auto merged
sql/lex.h:
  Auto merged
This commit is contained in:
unknown
2002-01-03 20:00:45 +00:00
11 changed files with 39 additions and 1 deletions

View File

@@ -522,6 +522,14 @@ public:
void fix_length_and_dec() { max_length=10; }
};
class Item_func_bit_length :public Item_func_length
{
public:
Item_func_bit_length(Item *a) :Item_func_length(a) {}
longlong val_int() { return Item_func_length::val_int()*8; }
const char *func_name() const { return "bit_length"; }
};
class Item_func_char_length :public Item_int_func
{
String value;