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
bf1f7a28
Commit
bf1f7a28
authored
Sep 02, 2001
by
monty@work.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
447c1895
7f8f1bd9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
14 deletions
+16
-14
Docs/manual.texi
Docs/manual.texi
+8
-10
configure.in
configure.in
+1
-1
myisam/mi_create.c
myisam/mi_create.c
+1
-1
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+6
-2
No files found.
Docs/manual.texi
View file @
bf1f7a28
...
@@ -5966,8 +5966,8 @@ Add support for UNICODE.
...
@@ -5966,8 +5966,8 @@ Add support for UNICODE.
Allow @code{select a from crash_me left join crash_me2 using (a)}; In this
Allow @code{select a from crash_me left join crash_me2 using (a)}; In this
case a is assumed to come from the crash_me table.
case a is assumed to come from the crash_me table.
@item
@item
Fix that @code{ON} and @code{USING} works with the @code{JOIN}
and
Fix that @code{ON} and @code{USING} works with the @code{JOIN}
@code{INNER JOIN} join types
.
join type
.
@item
@item
Oracle like @code{CONNECT BY PRIOR ...} to search hierarchy structures.
Oracle like @code{CONNECT BY PRIOR ...} to search hierarchy structures.
@item
@item
...
@@ -32327,7 +32327,7 @@ restrict which rows you have in the result set. If you want to restrict
...
@@ -32327,7 +32327,7 @@ restrict which rows you have in the result set. If you want to restrict
which rows should be in the result, you have to do this in the @code{WHERE}
which rows should be in the result, you have to do this in the @code{WHERE}
clause.
clause.
Note that in versions before Version 3.23.1
6
, the @code{INNER JOIN} didn't
Note that in versions before Version 3.23.1
7
, the @code{INNER JOIN} didn't
take a @code{join_condition}!
take a @code{join_condition}!
@cindex ODBC compatibility
@cindex ODBC compatibility
...
@@ -32345,11 +32345,6 @@ mysql> select t1.name, t2.salary from employee AS t1, info AS t2
...
@@ -32345,11 +32345,6 @@ mysql> select t1.name, t2.salary from employee AS t1, info AS t2
where t1.name = t2.name;
where t1.name = t2.name;
@end example
@end example
@item
@code{INNER JOIN} and @code{,} (comma) are semantically equivalent.
Both do a full join between the tables used. Normally, you specify how
the tables should be linked in the @code{WHERE} condition.
@item
@item
The @code{ON} conditional is any conditional of the form that may be used in
The @code{ON} conditional is any conditional of the form that may be used in
a @code{WHERE} clause.
a @code{WHERE} clause.
...
@@ -46734,9 +46729,12 @@ Fixed coredump during @code{REPAIR} of some particularly broken tables.
...
@@ -46734,9 +46729,12 @@ Fixed coredump during @code{REPAIR} of some particularly broken tables.
@item
@item
Fixed bug in @code{InnoDB} and @code{AUTO_INCREMENT} columns.
Fixed bug in @code{InnoDB} and @code{AUTO_INCREMENT} columns.
@item
@item
Fixed bug in @code{InnoDB} and @code{RENAME TABLE} columns.
@item
Fixed critical bug in @code{InnoDB} and @code{BLOB} columns. If one has
Fixed critical bug in @code{InnoDB} and @code{BLOB} columns. If one has
used @code{BLOB} columns larger than 8K in an @code{InnoDB} table, one must
used @code{BLOB} columns larger than 8000 bytes in an @code{InnoDB}
dump the table with @code{mysqldump}, drop it and restore it from the dump.
table, one must dump the table with @code{mysqldump}, drop it and
restore it from the dump.
@item
@item
Applied large patch for OS/2 from Yuri Dario.
Applied large patch for OS/2 from Yuri Dario.
@item
@item
configure.in
View file @
bf1f7a28
...
@@ -559,7 +559,7 @@ AC_ARG_WITH(mysqld-user,
...
@@ -559,7 +559,7 @@ AC_ARG_WITH(mysqld-user,
[
--with-mysqld-user
=
username
[
--with-mysqld-user
=
username
What user the mysqld daemon shall be run as.],
What user the mysqld daemon shall be run as.],
[
MYSQLD_USER
=
$withval
]
,
[
MYSQLD_USER
=
$withval
]
,
[
MYSQLD_USER
=
root
]
[
MYSQLD_USER
=
mysql
]
)
)
AC_SUBST
(
MYSQLD_USER
)
AC_SUBST
(
MYSQLD_USER
)
...
...
myisam/mi_create.c
View file @
bf1f7a28
...
@@ -64,7 +64,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
...
@@ -64,7 +64,7 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
ci
=&
tmp_create_info
;
ci
=&
tmp_create_info
;
}
}
if
(
keys
+
uniques
>
MI_MAX_KEY
)
if
(
keys
+
uniques
>
MI_MAX_KEY
||
columns
==
0
)
{
{
DBUG_RETURN
(
my_errno
=
HA_WRONG_CREATE_OPTION
);
DBUG_RETURN
(
my_errno
=
HA_WRONG_CREATE_OPTION
);
}
}
...
...
scripts/mysqld_safe.sh
View file @
bf1f7a28
...
@@ -36,7 +36,7 @@ parse_arguments() {
...
@@ -36,7 +36,7 @@ parse_arguments() {
--basedir
=
*
)
MY_BASEDIR_VERSION
=
`
echo
"
$arg
"
|
sed
-e
"s;--basedir=;;"
`
;;
--basedir
=
*
)
MY_BASEDIR_VERSION
=
`
echo
"
$arg
"
|
sed
-e
"s;--basedir=;;"
`
;;
--datadir
=
*
)
DATADIR
=
`
echo
"
$arg
"
|
sed
-e
"s;--datadir=;;"
`
;;
--datadir
=
*
)
DATADIR
=
`
echo
"
$arg
"
|
sed
-e
"s;--datadir=;;"
`
;;
--pid-file
=
*
)
pid_file
=
`
echo
"
$arg
"
|
sed
-e
"s;--pid-file=;;"
`
;;
--pid-file
=
*
)
pid_file
=
`
echo
"
$arg
"
|
sed
-e
"s;--pid-file=;;"
`
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
"s;--
user=;;"
`
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
"s;--
[^=]*=;;"
`
;
SET_USER
=
1
;;
# these two might have been set in a [mysqld_safe] section of my.cnf
# these two might have been set in a [mysqld_safe] section of my.cnf
# they get passed via environment variables to mysqld_safe
# they get passed via environment variables to mysqld_safe
...
@@ -113,6 +113,7 @@ fi
...
@@ -113,6 +113,7 @@ fi
# these rely on $DATADIR by default, so we'll set them later on
# these rely on $DATADIR by default, so we'll set them later on
pid_file
=
pid_file
=
err_log
=
err_log
=
SET_USER
=
0
# Get first arguments from the my.cnf file, groups [mysqld] and [mysqld_safe]
# Get first arguments from the my.cnf file, groups [mysqld] and [mysqld_safe]
# and then merge with the command line arguments
# and then merge with the command line arguments
...
@@ -172,7 +173,10 @@ fi
...
@@ -172,7 +173,10 @@ fi
USER_OPTION
=
""
USER_OPTION
=
""
if
test
-w
/
if
test
-w
/
then
then
USER_OPTION
=
"--user=
$user
"
if
test
"
$user
"
!=
"root"
-o
$SET_USER
=
1
then
USER_OPTION
=
"--user=
$user
"
fi
# If we are root, change the err log to the right user.
# If we are root, change the err log to the right user.
touch
$err_log
;
chown
$user
$err_log
touch
$err_log
;
chown
$user
$err_log
if
test
-n
"
$open_files
"
if
test
-n
"
$open_files
"
...
...
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