1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Varbinary should be string as default

scripts/make_win_src_distribution.sh:
  make sql_yacc.cpp portable
This commit is contained in:
unknown
2003-05-06 06:20:16 +03:00
parent 4ac98ec521
commit d6e4b6a90e
2 changed files with 7 additions and 1 deletions

View File

@ -258,6 +258,12 @@ do
then then
$CP $i $BASE/$i $CP $i $BASE/$i
fi fi
done
#
# Fix some windows files
#
./extra/replace std:: "" -- $BASE/sql/sql_yacc.cpp ./extra/replace std:: "" -- $BASE/sql/sql_yacc.cpp
# #

View File

@ -456,7 +456,7 @@ public:
longlong val_int(); longlong val_int();
String *val_str(String*) { return &str_value; } String *val_str(String*) { return &str_value; }
int save_in_field(Field *field, bool no_conversions); int save_in_field(Field *field, bool no_conversions);
enum Item_result result_type () const { return INT_RESULT; } enum Item_result result_type () const { return STRING_RESULT; }
enum_field_types field_type() const { return MYSQL_TYPE_STRING; } enum_field_types field_type() const { return MYSQL_TYPE_STRING; }
}; };