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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
215be026
Commit
215be026
authored
Apr 27, 2005
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/my/mysql-5.0
parents
79f049f7
69b813a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
client/mysqladmin.cc
client/mysqladmin.cc
+1
-1
sql/handler.cc
sql/handler.cc
+4
-3
tests/mysql_client_test.c
tests/mysql_client_test.c
+4
-3
No files found.
client/mysqladmin.cc
View file @
215be026
...
...
@@ -727,7 +727,7 @@ static int execute_commands(MYSQL *mysql,int argc, char **argv)
void
(
*
func
)
(
MYSQL_RES
*
,
MYSQL_ROW
,
uint
);
new_line
=
1
;
if
(
mysql_query
(
mysql
,
"show status"
)
||
if
(
mysql_query
(
mysql
,
"show
/*!50002 GLOBAL */
status"
)
||
!
(
res
=
mysql_store_result
(
mysql
)))
{
my_printf_error
(
0
,
"unable to show status; error: '%s'"
,
MYF
(
ME_BELL
),
...
...
sql/handler.cc
View file @
215be026
...
...
@@ -185,9 +185,10 @@ enum db_type ha_checktype(enum db_type database_type)
thd
=
current_thd
;
return
((
enum
db_type
)
thd
->
variables
.
table_type
!=
DB_TYPE_UNKNOWN
?
(
enum
db_type
)
thd
->
variables
.
table_type
:
(
enum
db_type
)
global_system_variables
.
table_type
!=
DB_TYPE_UNKNOWN
?
(
enum
db_type
)
global_system_variables
.
table_type
:
DB_TYPE_MYISAM
);
((
enum
db_type
)
global_system_variables
.
table_type
!=
DB_TYPE_UNKNOWN
?
(
enum
db_type
)
global_system_variables
.
table_type
:
DB_TYPE_MYISAM
)
);
}
/* ha_checktype */
...
...
tests/mysql_client_test.c
View file @
215be026
...
...
@@ -7046,6 +7046,7 @@ static void test_set_option()
bug #89 (reported by mark@mysql.com)
*/
#ifndef EMBEDDED_LIBRARY
static
void
test_prepare_grant
()
{
int
rc
;
...
...
@@ -7138,7 +7139,7 @@ static void test_prepare_grant()
}
}
#endif
/*
Test a crash when invalid/corrupted .frm is used in the
...
...
@@ -12597,7 +12598,7 @@ static void test_bug8330()
const
char
*
stmt_text
;
MYSQL_STMT
*
stmt
[
2
];
int
i
,
rc
;
char
*
query
=
"select a,b from t1 where a=?"
;
c
onst
c
har
*
query
=
"select a,b from t1 where a=?"
;
MYSQL_BIND
bind
[
2
];
long
lval
[
2
];
...
...
@@ -12788,7 +12789,7 @@ static void test_bug8722()
}
MYSQL_STMT
*
open_cursor
(
char
*
query
)
MYSQL_STMT
*
open_cursor
(
c
onst
c
har
*
query
)
{
int
rc
;
const
ulong
type
=
(
ulong
)
CURSOR_TYPE_READ_ONLY
;
...
...
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