Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
6f669e6b
Commit
6f669e6b
authored
Oct 23, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
HA_NO_FULLTEXT_KEY and an appropriate error message
parent
a88a9842
Changes
32
Show whitespace changes
Inline
Side-by-side
Showing
32 changed files
with
57 additions
and
34 deletions
+57
-34
include/mysqld_error.h
include/mysqld_error.h
+2
-1
libmysql/violite.c
libmysql/violite.c
+1
-1
sql/ha_berkeley.h
sql/ha_berkeley.h
+1
-1
sql/ha_heap.h
sql/ha_heap.h
+2
-2
sql/ha_innobase.h
sql/ha_innobase.h
+1
-1
sql/ha_isam.h
sql/ha_isam.h
+5
-5
sql/ha_isammrg.h
sql/ha_isammrg.h
+2
-1
sql/ha_myisammrg.h
sql/ha_myisammrg.h
+5
-5
sql/share/czech/errmsg.txt
sql/share/czech/errmsg.txt
+1
-0
sql/share/danish/errmsg.txt
sql/share/danish/errmsg.txt
+1
-0
sql/share/dutch/errmsg.txt
sql/share/dutch/errmsg.txt
+1
-0
sql/share/english/errmsg.txt
sql/share/english/errmsg.txt
+1
-0
sql/share/estonian/errmsg.txt
sql/share/estonian/errmsg.txt
+1
-0
sql/share/french/errmsg.txt
sql/share/french/errmsg.txt
+1
-0
sql/share/german/errmsg.txt
sql/share/german/errmsg.txt
+1
-0
sql/share/greek/errmsg.txt
sql/share/greek/errmsg.txt
+1
-0
sql/share/hungarian/errmsg.txt
sql/share/hungarian/errmsg.txt
+1
-0
sql/share/italian/errmsg.txt
sql/share/italian/errmsg.txt
+1
-0
sql/share/japanese/errmsg.txt
sql/share/japanese/errmsg.txt
+1
-0
sql/share/korean/errmsg.txt
sql/share/korean/errmsg.txt
+1
-0
sql/share/norwegian-ny/errmsg.txt
sql/share/norwegian-ny/errmsg.txt
+1
-0
sql/share/norwegian/errmsg.txt
sql/share/norwegian/errmsg.txt
+1
-0
sql/share/polish/errmsg.txt
sql/share/polish/errmsg.txt
+1
-0
sql/share/portuguese/errmsg.txt
sql/share/portuguese/errmsg.txt
+1
-0
sql/share/romanian/errmsg.txt
sql/share/romanian/errmsg.txt
+1
-0
sql/share/russian/errmsg.txt
sql/share/russian/errmsg.txt
+1
-0
sql/share/slovak/errmsg.txt
sql/share/slovak/errmsg.txt
+1
-0
sql/share/spanish/errmsg.txt
sql/share/spanish/errmsg.txt
+1
-0
sql/share/swedish/errmsg.txt
sql/share/swedish/errmsg.txt
+1
-0
sql/share/ukrainian/errmsg.txt
sql/share/ukrainian/errmsg.txt
+1
-0
sql/sql_table.cc
sql/sql_table.cc
+15
-16
sql/violite.c
sql/violite.c
+1
-1
No files found.
include/mysqld_error.h
View file @
6f669e6b
...
@@ -214,4 +214,5 @@
...
@@ -214,4 +214,5 @@
#define ER_NO_PERMISSON_TO_CREATE_USER 1211
#define ER_NO_PERMISSON_TO_CREATE_USER 1211
#define ER_UNION_TABLES_IN_DIFFERENT_DIR 1212
#define ER_UNION_TABLES_IN_DIFFERENT_DIR 1212
#define ER_LOCK_DEADLOCK 1213
#define ER_LOCK_DEADLOCK 1213
#define ER_ERROR_MESSAGES 214
#define ER_TABLE_CANT_HANDLE_FULLTEXT 1214
#define ER_ERROR_MESSAGES 215
libmysql/violite.c
View file @
6f669e6b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#endif
#endif
#if !defined(MSDOS) && !defined(__WIN__) && !defined(HAVE_BROKEN_NETINET_INCLUDES) && !defined(__BEOS__)
#if !defined(MSDOS) && !defined(__WIN__) && !defined(HAVE_BROKEN_NETINET_INCLUDES) && !defined(__BEOS__)
&& !defined(__FreeBSD__)
#include <netinet/ip.h>
#include <netinet/ip.h>
#if !defined(alpha_linux_port)
#if !defined(alpha_linux_port)
#include <netinet/tcp.h>
#include <netinet/tcp.h>
...
...
sql/ha_berkeley.h
View file @
6f669e6b
...
@@ -90,7 +90,7 @@ class ha_berkeley: public handler
...
@@ -90,7 +90,7 @@ class ha_berkeley: public handler
HA_REC_NOT_IN_SEQ
|
HA_REC_NOT_IN_SEQ
|
HA_KEYPOS_TO_RNDPOS
|
HA_READ_ORDER
|
HA_LASTKEY_ORDER
|
HA_KEYPOS_TO_RNDPOS
|
HA_READ_ORDER
|
HA_LASTKEY_ORDER
|
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_HAVE_KEY_READ_ONLY
|
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_HAVE_KEY_READ_ONLY
|
HA_BLOB_KEY
|
HA_NOT_EXACT_COUNT
|
HA_BLOB_KEY
|
HA_NOT_EXACT_COUNT
|
HA_NO_FULLTEXT_KEY
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_DROP_BEFORE_CREATE
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_DROP_BEFORE_CREATE
|
HA_AUTO_PART_KEY
),
HA_AUTO_PART_KEY
),
changed_rows
(
0
),
last_dup_key
((
uint
)
-
1
),
version
(
0
),
using_ignore
(
0
)
changed_rows
(
0
),
last_dup_key
((
uint
)
-
1
),
version
(
0
),
using_ignore
(
0
)
...
...
sql/ha_heap.h
View file @
6f669e6b
...
@@ -35,7 +35,7 @@ class ha_heap: public handler
...
@@ -35,7 +35,7 @@ class ha_heap: public handler
ulong
option_flag
()
const
ulong
option_flag
()
const
{
return
(
HA_READ_RND_SAME
|
HA_NO_INDEX
|
HA_ONLY_WHOLE_INDEX
|
{
return
(
HA_READ_RND_SAME
|
HA_NO_INDEX
|
HA_ONLY_WHOLE_INDEX
|
HA_WRONG_ASCII_ORDER
|
HA_KEYPOS_TO_RNDPOS
|
HA_NO_BLOBS
|
HA_WRONG_ASCII_ORDER
|
HA_KEYPOS_TO_RNDPOS
|
HA_NO_BLOBS
|
HA_REC_NOT_IN_SEQ
);
}
HA_REC_NOT_IN_SEQ
|
HA_NO_FULLTEXT_KEY
);
}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_keys
()
const
{
return
MAX_KEY
;
}
uint
max_keys
()
const
{
return
MAX_KEY
;
}
uint
max_key_parts
()
const
{
return
MAX_REF_PARTS
;
}
uint
max_key_parts
()
const
{
return
MAX_REF_PARTS
;
}
...
...
sql/ha_innobase.h
View file @
6f669e6b
...
@@ -79,7 +79,7 @@ class ha_innobase: public handler
...
@@ -79,7 +79,7 @@ class ha_innobase: public handler
HA_KEYPOS_TO_RNDPOS
|
HA_LASTKEY_ORDER
|
HA_KEYPOS_TO_RNDPOS
|
HA_LASTKEY_ORDER
|
HA_HAVE_KEY_READ_ONLY
|
HA_READ_NOT_EXACT_KEY
|
HA_HAVE_KEY_READ_ONLY
|
HA_READ_NOT_EXACT_KEY
|
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_NOT_EXACT_COUNT
|
HA_NOT_EXACT_COUNT
|
HA_NO_FULLTEXT_KEY
|
HA_NO_WRITE_DELAYED
|
HA_NO_WRITE_DELAYED
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_DROP_BEFORE_CREATE
|
HA_DROP_BEFORE_CREATE
|
...
...
sql/ha_isam.h
View file @
6f669e6b
...
@@ -30,11 +30,11 @@ class ha_isam: public handler
...
@@ -30,11 +30,11 @@ class ha_isam: public handler
public:
public:
ha_isam
(
TABLE
*
table
)
:
handler
(
table
),
file
(
0
),
ha_isam
(
TABLE
*
table
)
:
handler
(
table
),
file
(
0
),
int_option_flag
(
HA_READ_NEXT
+
HA_READ_PREV
+
HA_READ_RND_SAME
+
int_option_flag
(
HA_READ_NEXT
|
HA_READ_PREV
|
HA_READ_RND_SAME
|
HA_KEYPOS_TO_RNDPOS
+
HA_READ_ORDER
+
HA_LASTKEY_ORDER
+
HA_KEYPOS_TO_RNDPOS
|
HA_READ_ORDER
|
HA_LASTKEY_ORDER
|
HA_HAVE_KEY_READ_ONLY
+
HA_READ_NOT_EXACT_KEY
+
HA_HAVE_KEY_READ_ONLY
|
HA_READ_NOT_EXACT_KEY
|
HA_LONGLONG_KEYS
+
HA_KEY_READ_WRONG_STR
+
HA_DUPP_POS
+
HA_LONGLONG_KEYS
|
HA_KEY_READ_WRONG_STR
|
HA_DUPP_POS
|
HA_NOT_DELETE_WITH_CACHE
)
HA_NOT_DELETE_WITH_CACHE
|
HA_NO_FULLTEXT_KEY
)
{}
{}
~
ha_isam
()
{}
~
ha_isam
()
{}
const
char
*
table_type
()
const
{
return
"ISAM"
;
}
const
char
*
table_type
()
const
{
return
"ISAM"
;
}
...
...
sql/ha_isammrg.h
View file @
6f669e6b
...
@@ -32,7 +32,8 @@ class ha_isammrg: public handler
...
@@ -32,7 +32,8 @@ class ha_isammrg: public handler
~
ha_isammrg
()
{}
~
ha_isammrg
()
{}
const
char
*
table_type
()
const
{
return
"MRG_ISAM"
;
}
const
char
*
table_type
()
const
{
return
"MRG_ISAM"
;
}
const
char
**
bas_ext
()
const
;
const
char
**
bas_ext
()
const
;
ulong
option_flag
()
const
{
return
HA_READ_RND_SAME
+
HA_KEYPOS_TO_RNDPOS
+
HA_REC_NOT_IN_SEQ
;}
ulong
option_flag
()
const
{
return
HA_READ_RND_SAME
|
HA_KEYPOS_TO_RNDPOS
|
HA_REC_NOT_IN_SEQ
|
HA_NO_FULLTEXT_KEY
;}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_record_length
()
const
{
return
HA_MAX_REC_LENGTH
;
}
uint
max_keys
()
const
{
return
0
;
}
uint
max_keys
()
const
{
return
0
;
}
uint
max_key_parts
()
const
{
return
0
;
}
uint
max_key_parts
()
const
{
return
0
;
}
...
...
sql/ha_myisammrg.h
View file @
6f669e6b
...
@@ -35,7 +35,7 @@ class ha_myisammrg: public handler
...
@@ -35,7 +35,7 @@ class ha_myisammrg: public handler
ulong
option_flag
()
const
ulong
option_flag
()
const
{
return
(
HA_REC_NOT_IN_SEQ
|
HA_READ_NEXT
|
{
return
(
HA_REC_NOT_IN_SEQ
|
HA_READ_NEXT
|
HA_READ_PREV
|
HA_READ_RND_SAME
|
HA_READ_PREV
|
HA_READ_RND_SAME
|
HA_HAVE_KEY_READ_ONLY
|
HA_HAVE_KEY_READ_ONLY
|
HA_NO_FULLTEXT_KEY
|
HA_KEYPOS_TO_RNDPOS
|
HA_READ_ORDER
|
HA_KEYPOS_TO_RNDPOS
|
HA_READ_ORDER
|
HA_LASTKEY_ORDER
|
HA_READ_NOT_EXACT_KEY
|
HA_LASTKEY_ORDER
|
HA_READ_NOT_EXACT_KEY
|
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_BLOB_KEY
);
}
HA_LONGLONG_KEYS
|
HA_NULL_KEY
|
HA_BLOB_KEY
);
}
...
...
sql/share/czech/errmsg.txt
View file @
6f669e6b
...
@@ -224,3 +224,4 @@
...
@@ -224,3 +224,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/danish/errmsg.txt
View file @
6f669e6b
...
@@ -218,3 +218,4 @@
...
@@ -218,3 +218,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/dutch/errmsg.txt
View file @
6f669e6b
...
@@ -219,3 +219,4 @@
...
@@ -219,3 +219,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/english/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/estonian/errmsg.txt
View file @
6f669e6b
...
@@ -219,3 +219,4 @@
...
@@ -219,3 +219,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/french/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/german/errmsg.txt
View file @
6f669e6b
...
@@ -218,3 +218,4 @@
...
@@ -218,3 +218,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/greek/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/hungarian/errmsg.txt
View file @
6f669e6b
...
@@ -217,3 +217,4 @@
...
@@ -217,3 +217,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/italian/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/japanese/errmsg.txt
View file @
6f669e6b
...
@@ -217,3 +217,4 @@
...
@@ -217,3 +217,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/korean/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/norwegian-ny/errmsg.txt
View file @
6f669e6b
...
@@ -217,3 +217,4 @@
...
@@ -217,3 +217,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/norwegian/errmsg.txt
View file @
6f669e6b
...
@@ -217,3 +217,4 @@
...
@@ -217,3 +217,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/polish/errmsg.txt
View file @
6f669e6b
...
@@ -219,3 +219,4 @@
...
@@ -219,3 +219,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/portuguese/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"Não é permitido a %-.32s@%-.64s criar novos usuários",
"Não é permitido a %-.32s@%-.64s criar novos usuários",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/romanian/errmsg.txt
View file @
6f669e6b
...
@@ -219,3 +219,4 @@
...
@@ -219,3 +219,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/russian/errmsg.txt
View file @
6f669e6b
...
@@ -218,3 +218,4 @@
...
@@ -218,3 +218,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
" FULLTEXT ",
sql/share/slovak/errmsg.txt
View file @
6f669e6b
...
@@ -223,3 +223,4 @@
...
@@ -223,3 +223,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/spanish/errmsg.txt
View file @
6f669e6b
...
@@ -216,3 +216,4 @@
...
@@ -216,3 +216,4 @@
"%-.32s@%-.64s is not allowed to create new users",
"%-.32s@%-.64s is not allowed to create new users",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
"The used table type doesn't support FULLTEXT indexes",
sql/share/swedish/errmsg.txt
View file @
6f669e6b
...
@@ -215,3 +215,4 @@
...
@@ -215,3 +215,4 @@
"%-.32s@%-.64s har inte rättigheter att skapa nya användare",
"%-.32s@%-.64s har inte rättigheter att skapa nya användare",
"Felaktig tabell definition: Alla tabeller i en MERGE tabell måste vara i samma databas",
"Felaktig tabell definition: Alla tabeller i en MERGE tabell måste vara i samma databas",
"Fick 'DEADLOCK' vid låsförsök av block/rad; Försök att starta om transaktionen",
"Fick 'DEADLOCK' vid låsförsök av block/rad; Försök att starta om transaktionen",
"The used table type doesn't support FULLTEXT indexes",
sql/share/ukrainian/errmsg.txt
View file @
6f669e6b
...
@@ -220,3 +220,4 @@
...
@@ -220,3 +220,4 @@
" %-.32s@%-.64s ަ",
" %-.32s@%-.64s ަ",
"Incorrect table definition; All MERGE tables must be in the same database",
"Incorrect table definition; All MERGE tables must be in the same database",
"Deadlock found when trying to get lock; Try restarting transaction",
"Deadlock found when trying to get lock; Try restarting transaction",
" æ Цդ FULLTEXT Ӧ",
sql/sql_table.cc
View file @
6f669e6b
...
@@ -413,6 +413,15 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
...
@@ -413,6 +413,15 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
key_info
->
key_parts
=
(
uint8
)
key
->
columns
.
elements
;
key_info
->
key_parts
=
(
uint8
)
key
->
columns
.
elements
;
key_info
->
key_part
=
key_part_info
;
key_info
->
key_part
=
key_part_info
;
if
(
key
->
type
==
Key
::
FULLTEXT
)
{
if
(
file
->
option_flag
()
&
HA_NO_FULLTEXT_KEY
)
{
my_error
(
ER_TABLE_CANT_HANDLE_FULLTEXT
,
MYF
(
0
));
DBUG_RETURN
(
-
1
);
}
}
List_iterator
<
key_part_spec
>
cols
(
key
->
columns
);
List_iterator
<
key_part_spec
>
cols
(
key
->
columns
);
for
(
uint
column_nr
=
0
;
(
column
=
cols
++
)
;
column_nr
++
)
for
(
uint
column_nr
=
0
;
(
column
=
cols
++
)
;
column_nr
++
)
{
{
...
@@ -428,13 +437,8 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
...
@@ -428,13 +437,8 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
column
->
field_name
);
column
->
field_name
);
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
}
}
if
(
key
->
type
==
Key
::
FULLTEXT
&&
if
(
key
->
type
==
Key
::
FULLTEXT
)
(
file
->
option_flag
()
&
HA_NO_FULLTEXT_KEY
))
column
->
length
=
1
;
/* ft-code ignores it anyway :-) */
{
my_printf_error
(
ER_WRONG_KEY_COLUMN
,
ER
(
ER_WRONG_KEY_COLUMN
),
MYF
(
0
),
column
->
field_name
);
DBUG_RETURN
(
-
1
);
}
if
(
f_is_blob
(
sql_field
->
pack_flag
))
if
(
f_is_blob
(
sql_field
->
pack_flag
))
{
{
if
(
!
(
file
->
option_flag
()
&
HA_BLOB_KEY
))
if
(
!
(
file
->
option_flag
()
&
HA_BLOB_KEY
))
...
@@ -444,10 +448,6 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
...
@@ -444,10 +448,6 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
}
}
if
(
!
column
->
length
)
if
(
!
column
->
length
)
{
if
(
key
->
type
==
Key
::
FULLTEXT
)
column
->
length
=
1
;
/* ft-code ignores it anyway :-) */
else
{
{
my_printf_error
(
ER_BLOB_KEY_WITHOUT_LENGTH
,
my_printf_error
(
ER_BLOB_KEY_WITHOUT_LENGTH
,
ER
(
ER_BLOB_KEY_WITHOUT_LENGTH
),
MYF
(
0
),
ER
(
ER_BLOB_KEY_WITHOUT_LENGTH
),
MYF
(
0
),
...
@@ -455,7 +455,6 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
...
@@ -455,7 +455,6 @@ int mysql_create_table(THD *thd,const char *db, const char *table_name,
DBUG_RETURN
(
-
1
);
DBUG_RETURN
(
-
1
);
}
}
}
}
}
if
(
!
(
sql_field
->
flags
&
NOT_NULL_FLAG
))
if
(
!
(
sql_field
->
flags
&
NOT_NULL_FLAG
))
{
{
if
(
key
->
type
==
Key
::
PRIMARY
)
if
(
key
->
type
==
Key
::
PRIMARY
)
...
...
sql/violite.c
View file @
6f669e6b
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
#include <sys/ioctl.h>
#include <sys/ioctl.h>
#endif
#endif
#if !defined(MSDOS) && !defined(__WIN__) && !defined(HAVE_BROKEN_NETINET_INCLUDES) && !defined(__BEOS__)
#if !defined(MSDOS) && !defined(__WIN__) && !defined(HAVE_BROKEN_NETINET_INCLUDES) && !defined(__BEOS__)
&& !defined(__FreeBSD__)
#include <netinet/ip.h>
#include <netinet/ip.h>
#if !defined(alpha_linux_port)
#if !defined(alpha_linux_port)
#include <netinet/tcp.h>
#include <netinet/tcp.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment