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
211b78b6
Commit
211b78b6
authored
Sep 01, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge bk-internal.mysql.com:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0
parents
d6db387a
8c125455
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
sql/examples/ha_archive.cc
sql/examples/ha_archive.cc
+1
-1
sql/sql_table.cc
sql/sql_table.cc
+10
-5
No files found.
sql/examples/ha_archive.cc
View file @
211b78b6
...
...
@@ -258,7 +258,7 @@ int ha_archive::write_data_header(gzFile file_to_write)
data_buffer
[
1
]
=
(
uchar
)
ARCHIVE_VERSION
;
if
(
gzwrite
(
file_to_write
,
&
data_buffer
,
DATA_BUFFER_SIZE
)
!=
sizeof
(
DATA_BUFFER_SIZE
)
)
DATA_BUFFER_SIZE
)
goto
error
;
DBUG_PRINT
(
"ha_archive::write_data_header"
,
(
"Check %u"
,
(
uint
)
data_buffer
[
0
]));
DBUG_PRINT
(
"ha_archive::write_data_header"
,
(
"Version %u"
,
(
uint
)
data_buffer
[
1
]));
...
...
sql/sql_table.cc
View file @
211b78b6
...
...
@@ -2388,12 +2388,17 @@ send_result_message:
}
default:
// Probably HA_ADMIN_INTERNAL_ERROR
{
char
buf
[
ERRMSGSIZE
+
20
];
uint
length
=
my_snprintf
(
buf
,
ERRMSGSIZE
,
"Unknown - internal error %d during operation"
,
result_code
);
protocol
->
store
(
"error"
,
5
,
system_charset_info
);
protocol
->
store
(
"Unknown - internal error during operation"
,
41
,
system_charset_info
);
protocol
->
store
(
buf
,
length
,
system_charset_info
);
fatal_error
=
1
;
break
;
}
}
if
(
fatal_error
)
table
->
table
->
s
->
version
=
0
;
// Force close of table
else
if
(
open_for_modify
)
...
...
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