diff options
author | unknown <serg@serg.mysql.com> | 2001-12-15 21:39:26 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2001-12-15 21:39:26 +0100 |
commit | 565e5cc71de483e9bdf5ff6897c861190125db3e (patch) | |
tree | 85451db091b2d55b35cc3b99896b0c1b3d925a6e | |
parent | f40d6b616b982887a664ad5146c860d78f0a4e6f (diff) | |
download | mariadb-git-565e5cc71de483e9bdf5ff6897c861190125db3e.tar.gz |
freebsd fix for openssl
horrible bug fixed
mysql-test/r/fulltext_multi.result:
Change mode to -rw-rw-r--
mysql-test/r/fulltext_order_by.result:
Change mode to -rw-rw-r--
mysql-test/r/fulltext_update.result:
Change mode to -rw-rw-r--
mysql-test/r/fulltext_var.result:
Change mode to -rw-rw-r--
mysql-test/r/bulk_replace.result:
Change mode to -rw-rw-r--
mysql-test/r/handler.result:
Change mode to -rw-rw-r--
include/my_global.h:
FreeBSD fix for openssl
myisam/ft_static.c:
some boolean search operators added
sql/sql_parse.cc:
fixed horrible bug that makes mysqld CRASH when mysql client is started
-rw-r--r-- | include/my_global.h | 4 | ||||
-rw-r--r-- | myisam/ft_static.c | 2 | ||||
-rw-r--r-- | mysql-test/r/fulltext_var.result | 2 | ||||
-rw-r--r-- | sql/sql_parse.cc | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/include/my_global.h b/include/my_global.h index 7fd781f69cf..27781b230fd 100644 --- a/include/my_global.h +++ b/include/my_global.h @@ -188,8 +188,8 @@ # endif #endif /* TIME_WITH_SYS_TIME */ #ifdef HAVE_UNISTD_H -#ifdef HAVE_OPENSSL -#define crypt dummy +#if defined(HAVE_OPENSSL) && !defined(__FreeBSD__) && !defined(NeXT) +#define crypt unistd_crypt #endif #include <unistd.h> #ifdef HAVE_OPENSSL diff --git a/myisam/ft_static.c b/myisam/ft_static.c index 184ce01b86b..3efb3a3ec74 100644 --- a/myisam/ft_static.c +++ b/myisam/ft_static.c @@ -21,7 +21,7 @@ ulong ft_min_word_len=4; ulong ft_max_word_len=HA_FT_MAXLEN; ulong ft_max_word_len_for_sort=20; -const char *ft_boolean_syntax="+ -><()~*"; +const char *ft_boolean_syntax="+ -><()~*:\"\"&|"; const MI_KEYSEG ft_keysegs[FT_SEGS]={ { diff --git a/mysql-test/r/fulltext_var.result b/mysql-test/r/fulltext_var.result index d9c37df56be..eb71e87538d 100644 --- a/mysql-test/r/fulltext_var.result +++ b/mysql-test/r/fulltext_var.result @@ -3,4 +3,4 @@ Variable_name Value ft_min_word_len 4 ft_max_word_len 254 ft_max_word_len_for_sort 20 -ft_boolean_syntax + -><()~* +ft_boolean_syntax + -><()~*:""&| diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 1e319c4c988..c044d17f0a9 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -875,8 +875,8 @@ bool dispatch_command(enum enum_server_command command, THD *thd, } thd->free_list=0; table_list.name=table_list.real_name=thd->strdup(packet); - thd->query_length=strlen(thd->query); thd->query=fields=thd->strdup(strend(packet)+1); + thd->query_length=strlen(thd->query); mysql_log.write(thd,command,"%s %s",table_list.real_name,fields); remove_escape(table_list.real_name); // This can't have wildcards |