summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorbrian@grrr.local <>2005-11-10 19:43:17 +0200
committerbrian@grrr.local <>2005-11-10 19:43:17 +0200
commit98071621447b5fc8270f88198497af598c0f0ee9 (patch)
tree781d2961359b06170c7bb7f8b43fc3749a1bcb1e /sql/field.h
parent2cb601c84050654a5731ac6f5f994acc1f02eabb (diff)
downloadmariadb-git-98071621447b5fc8270f88198497af598c0f0ee9.tar.gz
Added "SHOW AUTHORS" code
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/field.h b/sql/field.h
index 77d00b671f6..7446875d864 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -1081,7 +1081,7 @@ public:
int cmp_max(const char *, const char *, uint max_length);
int cmp(const char *a,const char*b)
{
- return cmp_max(a, b, ~0);
+ return cmp_max(a, b, ~0L);
}
void sort_string(char *buff,uint length);
void get_key_image(char *buff,uint length, imagetype type);
@@ -1141,7 +1141,7 @@ public:
my_decimal *val_decimal(my_decimal *);
int cmp_max(const char *, const char *, uint max_length);
int cmp(const char *a,const char*b)
- { return cmp_max(a, b, ~0); }
+ { return cmp_max(a, b, ~0L); }
int cmp(const char *a, uint32 a_length, const char *b, uint32 b_length);
int cmp_binary(const char *a,const char *b, uint32 max_length=~0L);
int key_cmp(const byte *,const byte*);