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
90226bbc
Commit
90226bbc
authored
Dec 05, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint
into neptunus.(none):/home/msvensson/mysql/mysql-5.1-maint
parents
3ad48783
244ec63a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
25 deletions
+2
-25
client/mysqltest.c
client/mysqltest.c
+0
-19
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+0
-3
storage/ndb/src/common/util/File.cpp
storage/ndb/src/common/util/File.cpp
+1
-1
storage/ndb/tools/ndb_condig.cpp
storage/ndb/tools/ndb_condig.cpp
+1
-2
No files found.
client/mysqltest.c
View file @
90226bbc
...
@@ -725,20 +725,6 @@ void close_connections()
...
@@ -725,20 +725,6 @@ void close_connections()
}
}
void
close_statements
()
{
struct
st_connection
*
con
;
DBUG_ENTER
(
"close_statements"
);
for
(
con
=
connections
;
con
<
next_con
;
con
++
)
{
if
(
con
->
stmt
)
mysql_stmt_close
(
con
->
stmt
);
con
->
stmt
=
0
;
}
DBUG_VOID_RETURN
;
}
void
close_files
()
void
close_files
()
{
{
DBUG_ENTER
(
"close_files"
);
DBUG_ENTER
(
"close_files"
);
...
@@ -2915,10 +2901,6 @@ void do_close_connection(struct st_command *command)
...
@@ -2915,10 +2901,6 @@ void do_close_connection(struct st_command *command)
}
}
}
}
#endif
#endif
if
(
next_con
->
stmt
)
mysql_stmt_close
(
next_con
->
stmt
);
next_con
->
stmt
=
0
;
mysql_close
(
&
con
->
mysql
);
mysql_close
(
&
con
->
mysql
);
if
(
con
->
util_mysql
)
if
(
con
->
util_mysql
)
mysql_close
(
con
->
util_mysql
);
mysql_close
(
con
->
util_mysql
);
...
@@ -5912,7 +5894,6 @@ int main(int argc, char **argv)
...
@@ -5912,7 +5894,6 @@ int main(int argc, char **argv)
break
;
break
;
case
Q_DISABLE_PS_PROTOCOL
:
case
Q_DISABLE_PS_PROTOCOL
:
ps_protocol_enabled
=
0
;
ps_protocol_enabled
=
0
;
close_statements
();
break
;
break
;
case
Q_ENABLE_PS_PROTOCOL
:
case
Q_ENABLE_PS_PROTOCOL
:
ps_protocol_enabled
=
ps_protocol
;
ps_protocol_enabled
=
ps_protocol
;
...
...
mysql-test/mysql-test-run.pl
View file @
90226bbc
...
@@ -792,9 +792,6 @@ sub command_line_setup () {
...
@@ -792,9 +792,6 @@ sub command_line_setup () {
{
{
# Only platforms that have native symlinks can use the vardir trick
# Only platforms that have native symlinks can use the vardir trick
$opt_mem
=
$opt_vardir
;
$opt_mem
=
$opt_vardir
;
# Delete the default directory in case it exists since we're going to create
# a new one later anyway, and the mkpath below throws a fatal error otherwise
eval
{
rmtree
(
$default_vardir
,
1
,
1
);
};
mtr_report
("
Using 4.1 vardir trick
");
mtr_report
("
Using 4.1 vardir trick
");
}
}
...
...
storage/ndb/src/common/util/File.cpp
View file @
90226bbc
...
@@ -140,7 +140,7 @@ File_class::close()
...
@@ -140,7 +140,7 @@ File_class::close()
}
}
}
}
m_file
=
NULL
;
m_file
=
NULL
;
return
rc
;
return
rc
;
}
}
...
...
storage/ndb/tools/ndb_condig.cpp
View file @
90226bbc
...
@@ -37,7 +37,6 @@ static int g_verbose = 0;
...
@@ -37,7 +37,6 @@ static int g_verbose = 0;
static
int
try_reconnect
=
3
;
static
int
try_reconnect
=
3
;
static
int
g_nodes
,
g_connections
,
g_section
;
static
int
g_nodes
,
g_connections
,
g_section
;
static
const
char
*
g_connectstring
=
0
;
static
const
char
*
g_query
=
0
;
static
const
char
*
g_query
=
0
;
static
int
g_nodeid
=
0
;
static
int
g_nodeid
=
0
;
...
@@ -486,7 +485,7 @@ fetch_configuration()
...
@@ -486,7 +485,7 @@ fetch_configuration()
ndb_mgm_set_error_stream
(
mgm
,
stderr
);
ndb_mgm_set_error_stream
(
mgm
,
stderr
);
if
(
ndb_mgm_set_connectstring
(
mgm
,
g_connectstring
))
if
(
ndb_mgm_set_connectstring
(
mgm
,
opt_connect_str
))
{
{
fprintf
(
stderr
,
"* %5d: %s
\n
"
,
fprintf
(
stderr
,
"* %5d: %s
\n
"
,
ndb_mgm_get_latest_error
(
mgm
),
ndb_mgm_get_latest_error
(
mgm
),
...
...
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