diff options
author | georg@lmy002.wdf.sap.corp <> | 2005-06-13 12:41:15 +0200 |
---|---|---|
committer | georg@lmy002.wdf.sap.corp <> | 2005-06-13 12:41:15 +0200 |
commit | b64e6db5a4d6807fe693c22b5b743968264a83dc (patch) | |
tree | 0a4d130bc8c5eb5d2582f3864b50584de7a5647f /sql/set_var.h | |
parent | 55f962c0cfff56ce5d9e0639072fdd65541ea471 (diff) | |
download | mariadb-git-b64e6db5a4d6807fe693c22b5b743968264a83dc.tar.gz |
fixes for windows 64-bit compiler warnings
Diffstat (limited to 'sql/set_var.h')
-rw-r--r-- | sql/set_var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/set_var.h b/sql/set_var.h index 56690c46131..a6532323b34 100644 --- a/sql/set_var.h +++ b/sql/set_var.h @@ -786,7 +786,8 @@ public: if (value_arg && value_arg->type() == Item::FIELD_ITEM) { Item_field *item= (Item_field*) value_arg; - if (!(value=new Item_string(item->field_name, strlen(item->field_name), + if (!(value=new Item_string(item->field_name, + (uint) strlen(item->field_name), item->collation.collation))) value=value_arg; /* Give error message later */ } |