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
e3791c3d
Commit
e3791c3d
authored
Jul 17, 2004
by
bell@sanja.is.com.ua
Browse files
Options
Browse Files
Download
Plain Diff
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-4.1
parents
67de5c37
2c873703
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
scripts/mysqlhotcopy.sh
scripts/mysqlhotcopy.sh
+1
-0
sql/item_strfunc.h
sql/item_strfunc.h
+3
-2
No files found.
scripts/mysqlhotcopy.sh
View file @
e3791c3d
...
...
@@ -635,6 +635,7 @@ sub copy_index
my
$to
=
"
$target
/
$file
"
;
my
$buff
;
open
(
INPUT,
"<
$from
"
)
||
die
"Can't open file
$from
:
$!
\n
"
;
binmode
(
INPUT,
":raw"
)
;
my
$length
=
read
INPUT,
$buff
, 2048
;
die
"Can't read index header from
$from
\n
"
if
(
$length
< 1024
)
;
close INPUT
;
...
...
sql/item_strfunc.h
View file @
e3791c3d
...
...
@@ -359,9 +359,10 @@ class Item_func_database :public Item_str_func
public:
Item_func_database
()
{
collation
.
set
(
system_charset_info
,
DERIVATION_IMPLICIT
);
}
String
*
val_str
(
String
*
);
void
fix_length_and_dec
()
{
void
fix_length_and_dec
()
{
max_length
=
MAX_FIELD_NAME
*
system_charset_info
->
mbmaxlen
;
maybe_null
=
1
;
}
const
char
*
func_name
()
const
{
return
"database"
;
}
};
...
...
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