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
c4a2d3d5
Commit
c4a2d3d5
authored
May 22, 2002
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes
Fixed problem with --password in mysql
parent
24b1874a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
15 deletions
+13
-15
client/mysql.cc
client/mysql.cc
+10
-13
mysql-test/r/type_decimal.result
mysql-test/r/type_decimal.result
+1
-1
mysql-test/t/type_decimal.test
mysql-test/t/type_decimal.test
+2
-1
No files found.
client/mysql.cc
View file @
c4a2d3d5
...
...
@@ -664,9 +664,7 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
break
;
case
'p'
:
if
(
argument
==
disabled_my_option
)
opt_password
=
(
char
*
)
""
;
else
{
argument
=
(
char
*
)
""
;
// Don't require password
if
(
argument
)
{
char
*
start
=
argument
;
...
...
@@ -678,7 +676,6 @@ get_one_option(int optid, const struct my_option *opt __attribute__((unused)),
}
else
tty_password
=
1
;
}
break
;
case
'#'
:
DBUG_PUSH
(
argument
?
argument
:
default_dbug_option
);
...
...
mysql-test/r/type_decimal.result
View file @
c4a2d3d5
...
...
@@ -232,7 +232,7 @@ a
99999999.99
drop table t1;
create table t1 (a decimal(10,2));
insert into t1 values (0.0),(
-0.0
),(+0.0),(01.0),(+01.0),(-01.0);
insert into t1 values (0.0),(
"-0.0"
),(+0.0),(01.0),(+01.0),(-01.0);
insert into t1 values (-.1),(+.1),(.1);
insert into t1 values (00000000000001),(+0000000000001),(-0000000000001);
insert into t1 values (+111111111.11),(111111111.11),(-11111111.11);
...
...
mysql-test/t/type_decimal.test
View file @
c4a2d3d5
...
...
@@ -183,7 +183,8 @@ drop table t1;
create
table
t1
(
a
decimal
(
10
,
2
));
insert
into
t1
values
(
0.0
),(
-
0.0
),(
+
0.0
),(
01.0
),(
+
01.0
),(
-
01.0
);
# The -0.0 needs to be typed as not all platforms supports this
insert
into
t1
values
(
0.0
),(
"-0.0"
),(
+
0.0
),(
01.0
),(
+
01.0
),(
-
01.0
);
insert
into
t1
values
(
-.
1
),(
+.
1
),(
.
1
);
insert
into
t1
values
(
00000000000001
),(
+
0000000000001
),(
-
0000000000001
);
insert
into
t1
values
(
+
111111111.11
),(
111111111.11
),(
-
11111111.11
);
...
...
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