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
8bf60770
Commit
8bf60770
authored
Feb 04, 2010
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Manual merger from mysql-trunk-merge.
Conflicts: - configure.in
parents
40d93c71
4c8fd3cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
5 deletions
+21
-5
mysql-test/include/setup_fake_relay_log.inc
mysql-test/include/setup_fake_relay_log.inc
+18
-2
win/configure.js
win/configure.js
+3
-3
No files found.
mysql-test/include/setup_fake_relay_log.inc
View file @
8bf60770
...
...
@@ -77,12 +77,28 @@ copy_file $fake_relay_log $_fake_relay_log;
if
(
`select convert(@@version_compile_os using latin1) IN ("Win32","Win64","Windows") = 0`
)
{
eval
select
'./$_fake_filename-fake.000001\n'
into
dumpfile
'$_fake_relay_index'
;
--
let
$_index_entry
=
./
$_fake_filename
-
fake
.
000001
}
if
(
`select convert(@@version_compile_os using latin1) IN ("Win32","Win64","Windows") != 0`
)
{
eval
select
'.\\\\$_fake_filename-fake.000001\n'
into
dumpfile
'$_fake_relay_index'
;
--
let
$_index_entry
=
.
\\\\
$_fake_filename
-
fake
.
000001
}
if
(
`SELECT LENGTH(@@secure_file_priv) > 0`
)
{
--
let
$_file_priv_dir
=
`SELECT @@secure_file_priv`
;
--
let
$_suffix
=
`SELECT UUID()`
--
let
$_tmp_file
=
$_file_priv_dir
/
fake
-
index
.
$_suffix
--
eval
select
'$_index_entry\n'
into
dumpfile
'$_tmp_file'
--
copy_file
$_tmp_file
$_fake_relay_index
--
remove_file
$_tmp_file
}
if
(
`SELECT LENGTH(@@secure_file_priv) = 0`
)
{
--
eval
select
'$_index_entry\n'
into
dumpfile
'$_fake_relay_index'
}
# Setup replication from existing relay log.
...
...
win/configure.js
View file @
8bf60770
...
...
@@ -140,11 +140,11 @@ function GetValue(str, key)
function
GetVersion
(
str
)
{
var
key
=
"
A
M_INIT_AUTOMAKE(mysql,
"
;
var
pos
=
str
.
indexOf
(
key
);
//5.0.6-beta)
var
key
=
"
A
C_INIT([MySQL Server], [
"
;
var
pos
=
str
.
indexOf
(
key
);
if
(
pos
==
-
1
)
return
null
;
pos
+=
key
.
length
;
var
end
=
str
.
indexOf
(
"
)
"
,
pos
);
var
end
=
str
.
indexOf
(
"
]
"
,
pos
);
if
(
end
==
-
1
)
return
null
;
return
str
.
substring
(
pos
,
end
);
}
...
...
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