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
ece42b09
Commit
ece42b09
authored
May 16, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/opt/local/work/mysql-5.0-9643
parents
0500fefb
9c71571f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
client/mysql.cc
client/mysql.cc
+4
-3
cmd-line-utils/libedit/readline/readline.h
cmd-line-utils/libedit/readline/readline.h
+1
-1
sql/item.h
sql/item.h
+6
-4
sql/sql_base.cc
sql/sql_base.cc
+2
-2
No files found.
client/mysql.cc
View file @
ece42b09
...
...
@@ -2094,7 +2094,8 @@ print_table_data(MYSQL_RES *result)
separator
.
fill
(
separator
.
length
()
+
length
+
2
,
'-'
);
separator
.
append
(
'+'
);
}
tee_puts
(
separator
.
c_ptr_safe
(),
PAGER
);
separator
.
append
(
'\0'
);
// End marker for \0
tee_puts
((
char
*
)
separator
.
ptr
(),
PAGER
);
if
(
column_names
)
{
mysql_field_seek
(
result
,
0
);
...
...
@@ -2107,7 +2108,7 @@ print_table_data(MYSQL_RES *result)
num_flag
[
off
]
=
IS_NUM
(
field
->
type
);
}
(
void
)
tee_fputs
(
"
\n
"
,
PAGER
);
tee_puts
(
separator
.
c_
ptr
(),
PAGER
);
tee_puts
(
(
char
*
)
separator
.
ptr
(),
PAGER
);
}
while
((
cur
=
mysql_fetch_row
(
result
)))
...
...
@@ -2136,7 +2137,7 @@ print_table_data(MYSQL_RES *result)
}
(
void
)
tee_fputs
(
"
\n
"
,
PAGER
);
}
tee_puts
(
separator
.
c_
ptr
(),
PAGER
);
tee_puts
(
(
char
*
)
separator
.
ptr
(),
PAGER
);
my_afree
((
gptr
)
num_flag
);
}
...
...
cmd-line-utils/libedit/readline/readline.h
View file @
ece42b09
...
...
@@ -73,7 +73,7 @@ typedef KEYMAP_ENTRY *Keymap;
#ifndef CTRL
#include <sys/ioctl.h>
#if
def __GLIBC__
#if
defined(__GLIBC__) || defined(__MWERKS__)
#include <sys/ttydefaults.h>
#endif
#ifndef CTRL
...
...
sql/item.h
View file @
ece42b09
...
...
@@ -1394,12 +1394,14 @@ class Item_null_helper :public Item_ref_null_helper
void
print
(
String
*
str
);
};
/*
The following class is used to optimize comparing of date and bigint columns
We need to save the original item, to be able to set the field to the
original value in 'opt_range'.
An instance of Item_int_with_ref may refer to a signed or an unsigned
integer.
We need to save the original item ('ref') to be able to call
ref->save_in_field(). This is used to create index search keys.
An instance of Item_int_with_ref may have signed or unsigned integer value.
*/
class
Item_int_with_ref
:
public
Item_int
...
...
sql/sql_base.cc
View file @
ece42b09
...
...
@@ -3306,8 +3306,8 @@ bool get_key_map_from_key_list(key_map *map, TABLE *table,
name
->
length
(),
1
))
<=
0
)
{
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
name
->
c_ptr_safe
(),
table
->
s
->
table
_name
);
my_error
(
ER_KEY_COLUMN_DOES_NOT_EXITS
,
MYF
(
0
),
name
->
c_ptr
(),
table
->
real
_name
);
map
->
set_all
();
return
1
;
}
...
...
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