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
9d000c32
Commit
9d000c32
authored
Feb 12, 2003
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated configure script to handle 1 digit numbers in MySQL version
Fixed a few typos from last patch
parent
e327393e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
6 deletions
+9
-6
configure.in
configure.in
+1
-4
libmysqld/libmysqld.c
libmysqld/libmysqld.c
+6
-0
sql/sql_parse.cc
sql/sql_parse.cc
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
configure.in
View file @
9d000c32
...
@@ -14,12 +14,9 @@ SHARED_LIB_VERSION=14:0:0
...
@@ -14,12 +14,9 @@ SHARED_LIB_VERSION=14:0:0
# Set all version vars based on $VERSION. How do we do this more elegant ?
# Set all version vars based on $VERSION. How do we do this more elegant ?
# Remember that regexps needs to quote [ and ] since this is run through m4
# Remember that regexps needs to quote [ and ] since this is run through m4
MYSQL_NO_DASH_VERSION
=
`
echo
$VERSION
|
sed
-e
"s|-.*
$|
|"
`
MYSQL_NO_DASH_VERSION
=
`
echo
$VERSION
|
sed
-e
"s|[[a-z]]*-.*
$|
|"
`
MYSQL_NO_DASH_VERSION
=
`
echo
$VERSION
|
sed
-e
"s|[[a-z]]*-.*
$|
|"
`
MYSQL_BASE_VERSION
=
`
echo
$MYSQL_NO_DASH_VERSION
|
sed
-e
"s|
\.
[[^.]]*
$|
|"
`
MYSQL_BASE_VERSION
=
`
echo
$MYSQL_NO_DASH_VERSION
|
sed
-e
"s|
\.
[[^.]]*
$|
|"
`
F_PART
=
`
echo
$MYSQL_BASE_VERSION
|
sed
-e
"s|
\.
||g"
|
sed
-e
"s|[a-zA-Z]
\+
||"
|sed
-e
"s|^
\(
..
\)
$|
\\
10|"
`
MYSQL_VERSION_ID
=
`
echo
$MYSQL_NO_DASH_VERSION
.
|
sed
-e
's/\./ /g; s/ \([[0-9]]\) / 0\\1 /g; s/ //g'
`
L_PART
=
`
echo
$MYSQL_NO_DASH_VERSION
|
sed
-e
"s|^[[0-9]]
\.
[[0-9]]*
\.
||"
|
sed
-e
"s|^
\(
.
\)
$|
0
\\
1|"
|
sed
-e
"s|[[a-z]]||"
`
MYSQL_VERSION_ID
=
${
F_PART
}${
L_PART
}
# The port should be constant for a LONG time
# The port should be constant for a LONG time
MYSQL_TCP_PORT_DEFAULT
=
3306
MYSQL_TCP_PORT_DEFAULT
=
3306
...
...
libmysqld/libmysqld.c
View file @
9d000c32
...
@@ -1155,6 +1155,12 @@ mysql_get_server_info(MYSQL *mysql __attribute__((unused)))
...
@@ -1155,6 +1155,12 @@ mysql_get_server_info(MYSQL *mysql __attribute__((unused)))
}
}
ulong
STDCALL
mysql_get_server_version
(
MYSQL
*
mysql
__attribute__
((
unused
)))
{
return
MYSQL_VERSION_ID
;
}
const
char
*
STDCALL
const
char
*
STDCALL
mysql_get_host_info
(
MYSQL
*
mysql
__attribute__
((
unused
)))
mysql_get_host_info
(
MYSQL
*
mysql
__attribute__
((
unused
)))
{
{
...
...
sql/sql_parse.cc
View file @
9d000c32
...
@@ -1601,7 +1601,7 @@ mysql_execute_command(THD *thd)
...
@@ -1601,7 +1601,7 @@ mysql_execute_command(THD *thd)
}
}
if
((
&
lex
->
select_lex
!=
lex
->
all_selects_list
&&
if
((
&
lex
->
select_lex
!=
lex
->
all_selects_list
&&
lex
->
unit
.
create_total_list
(
thd
,
lex
,
&
tables
,
0
))
lex
->
unit
.
create_total_list
(
thd
,
lex
,
&
tables
,
0
))
#if
n
def HAVE_REPLICATION
#ifdef HAVE_REPLICATION
||
||
(
table_rules_on
&&
tables
&&
thd
->
slave_thread
&&
(
table_rules_on
&&
tables
&&
thd
->
slave_thread
&&
!
tables_ok
(
thd
,
tables
))
!
tables_ok
(
thd
,
tables
))
...
...
sql/sql_yacc.yy
View file @
9d000c32
...
@@ -2816,7 +2816,7 @@ order_clause:
...
@@ -2816,7 +2816,7 @@ order_clause:
ORDER_SYM BY
ORDER_SYM BY
{
{
LEX *lex=Lex;
LEX *lex=Lex;
if (lex->current_select->linkage != GLOBAL_OPTIONS_TYPE
)
&&
if (lex->current_select->linkage != GLOBAL_OPTIONS_TYPE &&
lex->current_select->select_lex()->olap !=
lex->current_select->select_lex()->olap !=
UNSPECIFIED_OLAP_TYPE)
UNSPECIFIED_OLAP_TYPE)
{
{
...
...
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