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
bae4af8a
Commit
bae4af8a
authored
Oct 08, 2002
by
monty@mashka.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed missing table_list->name -> table_list->alias convert
parent
66646cc4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
myisam/mi_open.c
myisam/mi_open.c
+1
-1
mysql-test/Makefile.am
mysql-test/Makefile.am
+1
-0
scripts/mysqlhotcopy.sh
scripts/mysqlhotcopy.sh
+5
-1
tests/grant.res
tests/grant.res
+1
-1
No files found.
myisam/mi_open.c
View file @
bae4af8a
...
@@ -204,7 +204,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
...
@@ -204,7 +204,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
max_data_file_length
=
max_data_file_length
=
(
share
->
options
&
(
HA_OPTION_PACK_RECORD
|
HA_OPTION_COMPRESS_RECORD
))
?
(
share
->
options
&
(
HA_OPTION_PACK_RECORD
|
HA_OPTION_COMPRESS_RECORD
))
?
(((
ulonglong
)
1
<<
(
share
->
base
.
rec_reflength
*
8
))
-
1
)
:
(((
ulonglong
)
1
<<
(
share
->
base
.
rec_reflength
*
8
))
-
1
)
:
(
mi_safe_mul
(
share
->
base
.
reclength
,
(
mi_safe_mul
(
share
->
base
.
pack_
reclength
,
(
ulonglong
)
1
<<
(
share
->
base
.
rec_reflength
*
8
))
-
1
);
(
ulonglong
)
1
<<
(
share
->
base
.
rec_reflength
*
8
))
-
1
);
max_key_file_length
=
max_key_file_length
=
mi_safe_mul
(
MI_KEY_BLOCK_LENGTH
,
mi_safe_mul
(
MI_KEY_BLOCK_LENGTH
,
...
...
mysql-test/Makefile.am
View file @
bae4af8a
...
@@ -42,6 +42,7 @@ install-data-local:
...
@@ -42,6 +42,7 @@ install-data-local:
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.test
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.opt
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/t/
*
.opt
$(DESTDIR)$(testdir)
/t
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.result
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/r/
*
.require
$(DESTDIR)$(testdir)
/r
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(DESTDIR)$(testdir)
/include
$(INSTALL_DATA)
$(srcdir)
/include/
*
.inc
$(DESTDIR)$(testdir)
/include
$(INSTALL_DATA)
$(srcdir)
/std_data/
*
.dat
$(DESTDIR)$(testdir)
/std_data
$(INSTALL_DATA)
$(srcdir)
/std_data/
*
.dat
$(DESTDIR)$(testdir)
/std_data
...
...
scripts/mysqlhotcopy.sh
View file @
bae4af8a
...
@@ -37,7 +37,7 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
...
@@ -37,7 +37,7 @@ WARNING: THIS PROGRAM IS STILL IN BETA. Comments/patches welcome.
# Documentation continued at end of file
# Documentation continued at end of file
my
$VERSION
=
"1.1
6
"
;
my
$VERSION
=
"1.1
7
"
;
my
$opt_tmpdir
=
$ENV
{
TMPDIR
}
||
"/tmp"
;
my
$opt_tmpdir
=
$ENV
{
TMPDIR
}
||
"/tmp"
;
...
@@ -388,6 +388,8 @@ foreach my $rdb ( @db_desc ) {
...
@@ -388,6 +388,8 @@ foreach my $rdb ( @db_desc ) {
foreach my
$td
(
''
, @
{
$rdb
->
{
raid_dirs
}}
)
{
foreach my
$td
(
''
, @
{
$rdb
->
{
raid_dirs
}}
)
{
my
$tgt_dirpath
=
"
$rdb
->{target}/
$td
"
;
my
$tgt_dirpath
=
"
$rdb
->{target}/
$td
"
;
# Remove trailing slashes (needed for Mac OS X)
substr
(
$tgt_dirpath
, 1
)
=
~ s|/+
$|
|
;
if
(
$opt
{
dryrun
}
)
{
if
(
$opt
{
dryrun
}
)
{
print
"mkdir
$tgt_dirpath
, 0750
\n
"
;
print
"mkdir
$tgt_dirpath
, 0750
\n
"
;
}
}
...
@@ -1001,3 +1003,5 @@ resulted in nothing being copied when a regexp was specified but no
...
@@ -1001,3 +1003,5 @@ resulted in nothing being copied when a regexp was specified but no
database name(s).
database name(s).
Martin Waite - Fix to handle database name that contains space.
Martin Waite - Fix to handle database name that contains space.
Paul DuBois - Remove end '
/
' from directory names
tests/grant.res
View file @
bae4af8a
...
@@ -310,7 +310,7 @@ select Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.t
...
@@ -310,7 +310,7 @@ select Host, Db, User, Table_name, Grantor, Table_priv, Column_priv from mysql.t
revoke GRANT OPTION on grant_test.test from grant_user@localhost
revoke GRANT OPTION on grant_test.test from grant_user@localhost
Error in execute: There is no such grant defined for user 'grant_user' on host 'localhost' on table 'test'
Error in execute: There is no such grant defined for user 'grant_user' on host 'localhost' on table 'test'
grant select(a) on grant_test.test to grant_user@localhost
grant select(a) on grant_test.test to grant_user@localhost
show columns from test
show
full
columns from test
a int(11) YES NULL select
a int(11) YES NULL select
b int(11) YES NULL
b int(11) YES NULL
...
...
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