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
9a1baf7d
Commit
9a1baf7d
authored
Mar 19, 2004
by
monty@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes
Fixed some wrong column specifications in mysql_fix_privilege_tables
parent
f375eb50
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
22 deletions
+14
-22
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
mysql-test/r/func_math.result
mysql-test/r/func_math.result
+0
-9
mysql-test/r/rpl_error_ignored_table.result
mysql-test/r/rpl_error_ignored_table.result
+1
-1
mysql-test/t/func_math.test
mysql-test/t/func_math.test
+4
-3
mysql-test/t/rpl_error_ignored_table.test
mysql-test/t/rpl_error_ignored_table.test
+1
-1
scripts/mysql_fix_privilege_tables.sh
scripts/mysql_fix_privilege_tables.sh
+1
-1
scripts/mysql_fix_privilege_tables.sql
scripts/mysql_fix_privilege_tables.sql
+6
-6
No files found.
mysql-test/mysql-test-run.sh
View file @
9a1baf7d
...
...
@@ -17,7 +17,7 @@ MY_TZ=GMT-3
TZ
=
$MY_TZ
;
export
TZ
# for UNIX_TIMESTAMP tests to work
# For query_cache test
case
"
$SYSTEM
"
in
case
`
uname
`
in
SCO_SV
|
UnixWare
|
OpenUNIX
)
# do nothing (Causes strange behavior)
;;
...
...
mysql-test/r/func_math.result
View file @
9a1baf7d
...
...
@@ -59,12 +59,3 @@ ASIN(0.8+0.2)
SELECT ASIN(1.2-0.2);
ASIN(1.2-0.2)
1.570796
select floor(log(4)/log(2));
floor(log(4)/log(2))
2
select floor(log(8)/log(2));
floor(log(8)/log(2))
3
select floor(log(16)/log(2));
floor(log(16)/log(2))
4
mysql-test/r/rpl_error_ignored_table.result
View file @
9a1baf7d
...
...
@@ -26,7 +26,7 @@ select (@id := id) - id from t3;
0
kill @id;
drop table t2,t3;
Server shutdown in progres
s
Got one of the listed error
s
show binlog events from 79;
Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.001 79 Query 1 79 use `test`; create table t1 (a int primary key)
...
...
mysql-test/t/func_math.test
View file @
9a1baf7d
...
...
@@ -33,6 +33,7 @@ SELECT ASIN(1.2-0.2);
# Bug #3051 FLOOR returns invalid
#
select
floor
(
log
(
4
)
/
log
(
2
));
select
floor
(
log
(
8
)
/
log
(
2
));
select
floor
(
log
(
16
)
/
log
(
2
));
# This can't be tested as it's not portable
#select floor(log(4)/log(2));
#select floor(log(8)/log(2));
#select floor(log(16)/log(2));
mysql-test/t/rpl_error_ignored_table.test
View file @
9a1baf7d
...
...
@@ -44,7 +44,7 @@ select (@id := id) - id from t3;
kill
@
id
;
drop
table
t2
,
t3
;
connection
master
;
--
error
1053
;
--
error
1053
,
0
;
reap
;
connection
master1
;
show
binlog
events
from
79
;
...
...
scripts/mysql_fix_privilege_tables.sh
View file @
9a1baf7d
...
...
@@ -116,7 +116,7 @@ $cmd <<END_OF_DATA
alter table user change password password char(16) NOT NULL;
alter table user add File_priv enum('N','Y') NOT NULL;
CREATE TABLE if not exists func (
name char(64) DEFAULT '' NOT NULL,
name char(64)
binary
DEFAULT '' NOT NULL,
ret tinyint(1) DEFAULT '0' NOT NULL,
dl char(128) DEFAULT '' NOT NULL,
type enum ('function','aggregate') NOT NULL,
...
...
scripts/mysql_fix_privilege_tables.sql
View file @
9a1baf7d
...
...
@@ -7,7 +7,7 @@
-- On unix, you should use the mysql_fix_privilege_tables script to execute
-- this sql script.
-- On windows you should do 'mysql --force < mysql_fix_privilege_tables.sql'
-- On windows you should do 'mysql --force
mysql
< mysql_fix_privilege_tables.sql'
USE
mysql
;
ALTER
TABLE
user
type
=
MyISAM
;
...
...
@@ -19,7 +19,7 @@ ALTER TABLE tables_priv type=MyISAM;
ALTER
TABLE
user
change
Password
Password
char
(
41
)
not
null
;
ALTER
TABLE
user
add
File_priv
enum
(
'N'
,
'Y'
)
NOT
NULL
;
CREATE
TABLE
IF
NOT
EXISTS
func
(
name
char
(
64
)
DEFAULT
''
NOT
NULL
,
name
char
(
64
)
binary
DEFAULT
''
NOT
NULL
,
ret
tinyint
(
1
)
DEFAULT
'0'
NOT
NULL
,
dl
char
(
128
)
DEFAULT
''
NOT
NULL
,
type
enum
(
'function'
,
'aggregate'
)
NOT
NULL
,
...
...
@@ -56,10 +56,10 @@ ALTER TABLE user MODIFY ssl_type enum('','ANY','X509', 'SPECIFIED') NOT NULL;
--
CREATE
TABLE
IF
NOT
EXISTS
tables_priv
(
Host
char
(
60
)
DEFAULT
''
NOT
NULL
,
Db
char
(
6
0
)
DEFAULT
''
NOT
NULL
,
User
char
(
16
)
DEFAULT
''
NOT
NULL
,
Table_name
char
(
6
0
)
DEFAULT
''
NOT
NULL
,
Host
char
(
60
)
binary
DEFAULT
''
NOT
NULL
,
Db
char
(
6
4
)
binary
DEFAULT
''
NOT
NULL
,
User
char
(
16
)
binary
DEFAULT
''
NOT
NULL
,
Table_name
char
(
6
4
)
binary
DEFAULT
''
NOT
NULL
,
Grantor
char
(
77
)
DEFAULT
''
NOT
NULL
,
Timestamp
timestamp
(
14
),
Table_priv
set
(
'Select'
,
'Insert'
,
'Update'
,
'Delete'
,
'Create'
,
'Drop'
,
'Grant'
,
'References'
,
'Index'
,
'Alter'
)
DEFAULT
''
NOT
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