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
3f7355df
Commit
3f7355df
authored
Feb 17, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
making XA tree to compile (and pass tests) in -max build
parent
530eecbd
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
56 deletions
+86
-56
sql/examples/ha_archive.cc
sql/examples/ha_archive.cc
+3
-3
sql/examples/ha_archive.h
sql/examples/ha_archive.h
+1
-1
sql/ha_ndbcluster.cc
sql/ha_ndbcluster.cc
+77
-44
sql/ha_ndbcluster.h
sql/ha_ndbcluster.h
+3
-6
sql/item_func.h
sql/item_func.h
+1
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+1
-1
No files found.
sql/examples/ha_archive.cc
View file @
3f7355df
...
...
@@ -752,7 +752,7 @@ int ha_archive::rnd_next(byte *buf)
}
/*
/*
Thanks to the table flag HA_REC_NOT_IN_SEQ this will be called after
each call to ha_archive::rnd_next() if an ordering of the rows is
needed.
...
...
@@ -761,7 +761,7 @@ int ha_archive::rnd_next(byte *buf)
void
ha_archive
::
position
(
const
byte
*
record
)
{
DBUG_ENTER
(
"ha_archive::position"
);
ha
_store_ptr
(
ref
,
ref_length
,
current_position
);
my
_store_ptr
(
ref
,
ref_length
,
current_position
);
DBUG_VOID_RETURN
;
}
...
...
@@ -778,7 +778,7 @@ int ha_archive::rnd_pos(byte * buf, byte *pos)
DBUG_ENTER
(
"ha_archive::rnd_pos"
);
statistic_increment
(
table
->
in_use
->
status_var
.
ha_read_rnd_next_count
,
&
LOCK_status
);
current_position
=
ha
_get_ptr
(
pos
,
ref_length
);
current_position
=
my
_get_ptr
(
pos
,
ref_length
);
z_off_t
seek
=
gzseek
(
archive
,
current_position
,
SEEK_SET
);
DBUG_RETURN
(
get_row
(
archive
,
buf
));
...
...
sql/examples/ha_archive.h
View file @
3f7355df
...
...
@@ -106,6 +106,6 @@ class ha_archive: public handler
enum
thr_lock_type
lock_type
);
};
bool
archive_db_init
(
void
);
handlerton
*
archive_db_init
(
void
);
bool
archive_db_end
(
void
);
sql/ha_ndbcluster.cc
View file @
3f7355df
This diff is collapsed.
Click to expand it.
sql/ha_ndbcluster.h
View file @
3f7355df
...
...
@@ -74,6 +74,8 @@ class Thd_ndb {
Ndb
*
ndb
;
ulong
count
;
uint
lock_count
;
NdbTransaction
*
all
;
NdbTransaction
*
stmt
;
int
error
;
};
...
...
@@ -286,14 +288,9 @@ class ha_ndbcluster: public handler
extern
struct
show_var_st
ndb_status_variables
[];
bool
ndbcluster_init
(
void
);
handlerton
*
ndbcluster_init
(
void
);
bool
ndbcluster_end
(
void
);
int
ndbcluster_commit
(
THD
*
thd
,
void
*
ndb_transaction
);
int
ndbcluster_rollback
(
THD
*
thd
,
void
*
ndb_transaction
);
void
ndbcluster_close_connection
(
THD
*
thd
);
int
ndbcluster_discover
(
THD
*
thd
,
const
char
*
dbname
,
const
char
*
name
,
const
void
**
frmblob
,
uint
*
frmlen
);
int
ndbcluster_find_files
(
THD
*
thd
,
const
char
*
db
,
const
char
*
path
,
...
...
sql/item_func.h
View file @
3f7355df
...
...
@@ -348,7 +348,7 @@ class Item_func_div :public Item_num_op
{
public:
Item_func_div
(
Item
*
a
,
Item
*
b
)
:
Item_num_op
(
a
,
b
)
{}
longlong
int_op
()
{
DBUG_ASSERT
(
0
);
}
longlong
int_op
()
{
DBUG_ASSERT
(
0
);
return
0
;
}
double
real_op
();
my_decimal
*
decimal_op
(
my_decimal
*
);
const
char
*
func_name
()
const
{
return
"/"
;
}
...
...
sql/sql_yacc.yy
View file @
3f7355df
...
...
@@ -1924,7 +1924,7 @@ sp_proc_stmt:
sp_instr_set *i = new sp_instr_set(lex->sphead->instructions(),
lex->spcont,
offset, $2, MYSQL_TYPE_STRING);
LEX_STRING dummy={"", 0};
LEX_STRING dummy={
(char*)
"", 0};
lex->spcont->push_pvar(&dummy, MYSQL_TYPE_STRING, sp_param_in);
i->tables= lex->query_tables;
...
...
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