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
663f971b
Commit
663f971b
authored
Apr 29, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes.
BitKeeper/deleted/.del-my_bit.h: Delete: include/my_bit.h
parent
50ceea65
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
15 deletions
+9
-15
include/my_bit.h
include/my_bit.h
+2
-2
include/my_sys.h
include/my_sys.h
+1
-1
mysys/my_handler_errors.h
mysys/my_handler_errors.h
+5
-5
sql/handler.cc
sql/handler.cc
+1
-1
storage/myisam/mi_check.c
storage/myisam/mi_check.c
+0
-6
No files found.
include/my_bit.h
View file @
663f971b
...
...
@@ -98,12 +98,12 @@ STATIC_INLINE uint32 my_reverse_bits(uint32 key)
_my_bits_reverse_table
[(
key
>>
24
)
];
}
#else
#else
/* HAVE_INLINE */
extern
uint
my_bit_log2
(
ulong
value
);
extern
uint32
my_round_up_to_next_power
(
uint32
v
);
uint32
my_clear_highest_bit
(
uint32
v
);
uint32
my_reverse_bits
(
uint32
key
);
extern
uint
my_count_bits
(
ulonglong
v
);
extern
uint
my_count_bits_ushort
(
ushort
v
);
#endif
#endif
/* HAVE_INLINE */
C_MODE_END
include/my_sys.h
View file @
663f971b
...
...
@@ -290,7 +290,7 @@ enum flush_type
As my_disable_flush_pagecache_blocks is always 0, the following option
is strictly equivalent to FLUSH_KEEP
*/
FLUSH_FORCE_WRITE
FLUSH_FORCE_WRITE
,
/**
@brief like FLUSH_KEEP but return immediately if file is already being
flushed (even partially) by another thread; only for page cache,
...
...
mysys/my_handler_errors.h
View file @
663f971b
...
...
@@ -32,7 +32,7 @@ static const char *handler_error_messages[]=
"Table is crashed and last repair failed"
,
"Table was marked as crashed and should be repaired"
,
"Lock timed out; Retry transaction"
,
"Lock table is full; Restart program with a larger locktable"
,
"Lock table is full; Restart program with a larger lock
table"
,
"Updates are not allowed under a read only transactions"
,
"Lock deadlock; Retry transaction"
,
"Foreign key constraint is incorrectly formed"
,
...
...
@@ -46,7 +46,7 @@ static const char *handler_error_messages[]=
"Unexpected null pointer found when using spatial index"
,
"The table changed in storage engine"
,
"There's no partition in table for the given value"
,
"Row-based binlogging of row failed"
,
"Row-based bin
ary
logging of row failed"
,
"Index needed in foreign key constraint"
,
"Upholding foreign key constraints would lead to a duplicate key error in "
"some other table"
,
...
...
@@ -59,9 +59,9 @@ static const char *handler_error_messages[]=
"It is not possible to log this statement"
,
"The event was corrupt, leading to illegal data being read"
,
"The table is of a new format not supported by this version"
,
"The event could not be processed no other han
ld
er error happened"
,
"Got a fatal error during initial
zac
tion of handler"
,
"File to short; Expected more data in file"
,
"The event could not be processed no other han
dl
er error happened"
,
"Got a fatal error during initial
iza
tion of handler"
,
"File to
o
short; Expected more data in file"
,
"Read page with wrong checksum"
};
sql/handler.cc
View file @
663f971b
...
...
@@ -937,7 +937,7 @@ int ha_prepare(THD *thd)
{
push_warning_printf
(
thd
,
MYSQL_ERROR
::
WARN_LEVEL_WARN
,
ER_ILLEGAL_HA
,
ER
(
ER_ILLEGAL_HA
),
h
ton_name
(
*
ht
)
->
str
);
h
a_resolve_storage_engine_name
(
ht
)
);
}
}
}
...
...
storage/myisam/mi_check.c
View file @
663f971b
...
...
@@ -1211,8 +1211,6 @@ int chk_data_link(HA_CHECK *param, MI_INFO *info, my_bool extend)
param
->
glob_crc
+=
(
*
info
->
s
->
calc_check_checksum
)(
info
,
record
);
link_used
+=
(
block_info
.
filepos
-
start_recpos
);
used
+=
(
pos
-
start_recpos
);
case
BLOCK_RECORD
:
assert
(
0
);
/* Impossible */
}
/* switch */
if
(
!
got_error
)
{
...
...
@@ -3646,8 +3644,6 @@ static int sort_get_next_record(MI_SORT_PARAM *sort_param)
record
));
DBUG_RETURN
(
0
);
}
case
BLOCK_RECORD
:
assert
(
0
);
/* Impossible */
}
DBUG_RETURN
(
1
);
/* Impossible */
}
...
...
@@ -3760,8 +3756,6 @@ int sort_write_record(MI_SORT_PARAM *sort_param)
sort_param
->
filepos
+=
reclength
+
length
;
info
->
s
->
state
.
split
++
;
break
;
case
BLOCK_RECORD
:
assert
(
0
);
/* Impossible */
}
}
if
(
sort_param
->
master
)
...
...
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