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
35c75beb
Commit
35c75beb
authored
Oct 14, 2005
by
ramil@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use Field_longlong::store(longlong nr, bool unsigned_val) for ulonglong values
instead of Field_longlong::store(double nr).
parent
58f2a6aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/sql_show.cc
sql/sql_show.cc
+5
-5
No files found.
sql/sql_show.cc
View file @
35c75beb
...
@@ -2333,14 +2333,14 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables,
...
@@ -2333,14 +2333,14 @@ static int get_schema_tables_record(THD *thd, struct st_table_list *tables,
table
->
field
[
7
]
->
store
((
longlong
)
file
->
records
,
TRUE
);
table
->
field
[
7
]
->
store
((
longlong
)
file
->
records
,
TRUE
);
table
->
field
[
7
]
->
set_notnull
();
table
->
field
[
7
]
->
set_notnull
();
}
}
table
->
field
[
8
]
->
store
((
longlong
)
file
->
mean_rec_length
);
table
->
field
[
8
]
->
store
((
longlong
)
file
->
mean_rec_length
,
TRUE
);
table
->
field
[
9
]
->
store
((
longlong
)
file
->
data_file_length
);
table
->
field
[
9
]
->
store
((
longlong
)
file
->
data_file_length
,
TRUE
);
if
(
file
->
max_data_file_length
)
if
(
file
->
max_data_file_length
)
{
{
table
->
field
[
10
]
->
store
((
longlong
)
file
->
max_data_file_length
);
table
->
field
[
10
]
->
store
((
longlong
)
file
->
max_data_file_length
,
TRUE
);
}
}
table
->
field
[
11
]
->
store
((
longlong
)
file
->
index_file_length
);
table
->
field
[
11
]
->
store
((
longlong
)
file
->
index_file_length
,
TRUE
);
table
->
field
[
12
]
->
store
((
longlong
)
file
->
delete_length
);
table
->
field
[
12
]
->
store
((
longlong
)
file
->
delete_length
,
TRUE
);
if
(
show_table
->
found_next_number_field
)
if
(
show_table
->
found_next_number_field
)
{
{
table
->
field
[
13
]
->
store
((
longlong
)
file
->
auto_increment_value
,
TRUE
);
table
->
field
[
13
]
->
store
((
longlong
)
file
->
auto_increment_value
,
TRUE
);
...
...
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