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
e653f84f
Commit
e653f84f
authored
Oct 27, 2005
by
osku
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add 5.0 -> 5.1 changes.
parent
2903c724
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
159 additions
and
583 deletions
+159
-583
handler/ha_innodb.cc
handler/ha_innodb.cc
+124
-101
handler/ha_innodb.h
handler/ha_innodb.h
+18
-7
include/Makefile.i
include/Makefile.i
+1
-1
mysql-test/innodb_gis.result
mysql-test/innodb_gis.result
+0
-458
mysql-test/innodb_gis.test
mysql-test/innodb_gis.test
+0
-4
setup.sh
setup.sh
+16
-12
No files found.
handler/ha_innodb.cc
View file @
e653f84f
This diff is collapsed.
Click to expand it.
handler/ha_innodb.h
View file @
e653f84f
...
@@ -124,7 +124,7 @@ class ha_innobase: public handler
...
@@ -124,7 +124,7 @@ class ha_innobase: public handler
int
delete_row
(
const
byte
*
buf
);
int
delete_row
(
const
byte
*
buf
);
void
unlock_row
();
void
unlock_row
();
int
index_init
(
uint
index
);
int
index_init
(
uint
index
,
bool
sorted
);
int
index_end
();
int
index_end
();
int
index_read
(
byte
*
buf
,
const
byte
*
key
,
int
index_read
(
byte
*
buf
,
const
byte
*
key
,
uint
key_len
,
enum
ha_rkey_function
find_flag
);
uint
key_len
,
enum
ha_rkey_function
find_flag
);
...
@@ -152,6 +152,16 @@ class ha_innobase: public handler
...
@@ -152,6 +152,16 @@ class ha_innobase: public handler
int
transactional_table_lock
(
THD
*
thd
,
int
lock_type
);
int
transactional_table_lock
(
THD
*
thd
,
int
lock_type
);
int
start_stmt
(
THD
*
thd
,
thr_lock_type
lock_type
);
int
start_stmt
(
THD
*
thd
,
thr_lock_type
lock_type
);
int
ha_retrieve_all_cols
()
{
ha_set_all_bits_in_read_set
();
return
extra
(
HA_EXTRA_RETRIEVE_ALL_COLS
);
}
int
ha_retrieve_all_pk
()
{
ha_set_primary_key_in_read_set
();
return
extra
(
HA_EXTRA_RETRIEVE_PRIMARY_KEY
);
}
void
position
(
byte
*
record
);
void
position
(
byte
*
record
);
ha_rows
records_in_range
(
uint
inx
,
key_range
*
min_key
,
key_range
ha_rows
records_in_range
(
uint
inx
,
key_range
*
min_key
,
key_range
*
max_key
);
*
max_key
);
...
@@ -196,6 +206,8 @@ class ha_innobase: public handler
...
@@ -196,6 +206,8 @@ class ha_innobase: public handler
static
ulonglong
get_mysql_bin_log_pos
();
static
ulonglong
get_mysql_bin_log_pos
();
bool
primary_key_is_clustered
()
{
return
true
;
}
bool
primary_key_is_clustered
()
{
return
true
;
}
int
cmp_ref
(
const
byte
*
ref1
,
const
byte
*
ref2
);
int
cmp_ref
(
const
byte
*
ref1
,
const
byte
*
ref2
);
bool
check_if_incompatible_data
(
HA_CREATE_INFO
*
info
,
uint
table_changes
);
};
};
extern
struct
show_var_st
innodb_status_variables
[];
extern
struct
show_var_st
innodb_status_variables
[];
...
@@ -242,7 +254,7 @@ extern ulong srv_commit_concurrency;
...
@@ -242,7 +254,7 @@ extern ulong srv_commit_concurrency;
extern
TYPELIB
innobase_lock_typelib
;
extern
TYPELIB
innobase_lock_typelib
;
bool
innobase_init
(
void
);
bool
innobase_init
(
void
);
bool
innobase_end
(
void
);
int
innobase_end
(
ha_panic_function
type
);
bool
innobase_flush_logs
(
void
);
bool
innobase_flush_logs
(
void
);
uint
innobase_get_free_space
(
void
);
uint
innobase_get_free_space
(
void
);
...
@@ -260,12 +272,11 @@ int innobase_commit_complete(void* trx_handle);
...
@@ -260,12 +272,11 @@ int innobase_commit_complete(void* trx_handle);
void innobase_store_binlog_offset_and_flush_log(char *binlog_name,longlong offset);
void innobase_store_binlog_offset_and_flush_log(char *binlog_name,longlong offset);
#endif
#endif
int
innobase_drop_database
(
char
*
path
);
void
innobase_drop_database
(
char
*
path
);
bool
innodb_show_status
(
THD
*
thd
);
bool
innobase_show_status
(
THD
*
thd
,
stat_print_fn
*
,
enum
ha_stat_type
);
bool
innodb_mutex_show_status
(
THD
*
thd
);
int
innodb_export_status
(
void
);
void
innodb_export_status
(
void
);
void
innobase_release_temporary_latches
(
THD
*
thd
);
int
innobase_release_temporary_latches
(
THD
*
thd
);
void
innobase_store_binlog_offset_and_flush_log
(
char
*
binlog_name
,
longlong
offset
);
void
innobase_store_binlog_offset_and_flush_log
(
char
*
binlog_name
,
longlong
offset
);
...
...
include/Makefile.i
View file @
e653f84f
# Makefile included in Makefile.am in every subdirectory
# Makefile included in Makefile.am in every subdirectory
INCLUDES
=
-I
$(
srcdir)
/../include
-I
$(srcdir)
/../../include
-I
../../include
INCLUDES
=
-I
$(
top_srcdir)
/include
-I
$(top_srcdir)
/
../../include
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
mysql-test/innodb_gis.result
deleted
100644 → 0
View file @
2903c724
This diff is collapsed.
Click to expand it.
mysql-test/innodb_gis.test
deleted
100644 → 0
View file @
2903c724
source
include
/
have_geometry
.
inc
;
--
source
include
/
have_innodb
.
inc
SET
storage_engine
=
innodb
;
--
source
include
/
gis_generic
.
inc
setup.sh
View file @
e653f84f
#!/bin/bash
#!/bin/bash
#
#
# Prepare the MySQL source code tree for building
# with checked-out InnoDB Subversion directory.
# This script assumes that the MySQL tree is at .. and that . = ../innodb
# This script assumes that the MySQL tree is at .. and that . = ../innodb
set
-eu
set
-eu
TARGETDIR
=
../innobase
TARGETDIR
=
../
storage/
innobase
rm
-fr
"
$TARGETDIR
"
rm
-fr
"
$TARGETDIR
"
mkdir
"
$TARGETDIR
"
mkdir
"
$TARGETDIR
"
...
@@ -12,28 +15,29 @@ mkdir "$TARGETDIR"
...
@@ -12,28 +15,29 @@ mkdir "$TARGETDIR"
# create the directories
# create the directories
for
dir
in
*
/
for
dir
in
*
/
do
do
case
"
$dir
"
in
case
"
$dir
"
in
handler/
)
;;
handler/
)
;;
*
.svn
*
)
;;
mysql-test/
)
;;
*
to-mysql
*
)
;;
*
.svn
*
)
;;
*
mysql-test
*
)
;;
*
to-mysql
*
)
;;
*
)
mkdir
"
$TARGETDIR
/
$dir
"
;;
*
)
mkdir
"
$TARGETDIR
/
$dir
"
;;
esac
esac
done
done
# create the symlinks to files
# create the symlinks to files
cd
"
$TARGETDIR
"
cd
"
$TARGETDIR
"
for
dir
in
*
/
for
dir
in
*
/
do
do
cd
"
$dir
"
cd
"
$dir
"
ln
-s
../../innodb/
"
$dir
"
*
.
ln
-s
../
../../innodb/
"
$dir
"
*
.
cd
..
cd
..
done
done
for
file
in
configure.in Makefile.am
for
file
in
configure.in Makefile.am
do
do
ln
-s
../innodb/
"
$file
"
.
ln
-s
../
../innodb/
"
$file
"
.
done
done
cd
..
ln
-sf
../innodb/handler/ha_innodb.h ../sql/
ln
-sf
../innodb/handler/ha_innodb.h ../sql/
ln
-sf
../innodb/handler/ha_innodb.cc ../sql/
ln
-sf
../innodb/handler/ha_innodb.cc ../sql/
...
...
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