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
aa52207c
Commit
aa52207c
authored
Sep 07, 2006
by
brian@zim.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Warning fixes for Windows, and an include fix for Windows for Innodb.
parent
0668eee2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
8 deletions
+11
-8
storage/archive/azio.c
storage/archive/azio.c
+2
-2
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+3
-5
storage/innobase/CMakeLists.txt
storage/innobase/CMakeLists.txt
+6
-1
No files found.
storage/archive/azio.c
View file @
aa52207c
...
@@ -125,7 +125,7 @@ int az_open (azio_stream *s, const char *path, int Flags, File fd)
...
@@ -125,7 +125,7 @@ int az_open (azio_stream *s, const char *path, int Flags, File fd)
buffer
[
8
]
=
0
/*xflags*/
;
buffer
[
8
]
=
0
/*xflags*/
;
buffer
[
9
]
=
0x03
;
buffer
[
9
]
=
0x03
;
s
->
start
=
10L
;
s
->
start
=
10L
;
my_write
(
s
->
file
,
buffer
,
s
->
start
,
MYF
(
0
));
my_write
(
s
->
file
,
buffer
,
(
uint
)
s
->
start
,
MYF
(
0
));
/* We use 10L instead of ftell(s->file) to because ftell causes an
/* We use 10L instead of ftell(s->file) to because ftell causes an
* fflush on some systems. This version of the library doesn't use
* fflush on some systems. This version of the library doesn't use
* start anyway in write mode, so this initialization is not
* start anyway in write mode, so this initialization is not
...
@@ -503,7 +503,7 @@ int azrewind (s)
...
@@ -503,7 +503,7 @@ int azrewind (s)
if
(
!
s
->
transparent
)
(
void
)
inflateReset
(
&
s
->
stream
);
if
(
!
s
->
transparent
)
(
void
)
inflateReset
(
&
s
->
stream
);
s
->
in
=
0
;
s
->
in
=
0
;
s
->
out
=
0
;
s
->
out
=
0
;
return
my_seek
(
s
->
file
,
s
->
start
,
MY_SEEK_SET
,
MYF
(
0
));
return
my_seek
(
s
->
file
,
(
int
)
s
->
start
,
MY_SEEK_SET
,
MYF
(
0
));
}
}
/* ===========================================================================
/* ===========================================================================
...
...
storage/federated/ha_federated.cc
View file @
aa52207c
...
@@ -1263,7 +1263,6 @@ bool ha_federated::create_where_from_key(String *to,
...
@@ -1263,7 +1263,6 @@ bool ha_federated::create_where_from_key(String *to,
if
(
tmp
.
append
(
STRING_WITH_LEN
(
") "
)))
if
(
tmp
.
append
(
STRING_WITH_LEN
(
") "
)))
goto
err
;
goto
err
;
next_loop:
if
(
store_length
>=
length
)
if
(
store_length
>=
length
)
break
;
break
;
DBUG_PRINT
(
"info"
,
(
"remainder %d"
,
remainder
));
DBUG_PRINT
(
"info"
,
(
"remainder %d"
,
remainder
));
...
@@ -2016,8 +2015,8 @@ int ha_federated::delete_row(const byte *buf)
...
@@ -2016,8 +2015,8 @@ int ha_federated::delete_row(const byte *buf)
{
{
DBUG_RETURN
(
stash_remote_error
());
DBUG_RETURN
(
stash_remote_error
());
}
}
stats
.
deleted
+=
mysql
->
affected_rows
;
stats
.
deleted
+=
(
ha_rows
)
mysql
->
affected_rows
;
stats
.
records
-=
mysql
->
affected_rows
;
stats
.
records
-=
(
ha_rows
)
mysql
->
affected_rows
;
DBUG_PRINT
(
"info"
,
DBUG_PRINT
(
"info"
,
(
"rows deleted %d rows deleted for all time %d"
,
(
"rows deleted %d rows deleted for all time %d"
,
int
(
mysql
->
affected_rows
),
stats
.
deleted
));
int
(
mysql
->
affected_rows
),
stats
.
deleted
));
...
@@ -2373,7 +2372,6 @@ int ha_federated::rnd_next(byte *buf)
...
@@ -2373,7 +2372,6 @@ int ha_federated::rnd_next(byte *buf)
int
ha_federated
::
read_next
(
byte
*
buf
,
MYSQL_RES
*
result
)
int
ha_federated
::
read_next
(
byte
*
buf
,
MYSQL_RES
*
result
)
{
{
int
retval
;
int
retval
;
my_ulonglong
num_rows
;
MYSQL_ROW
row
;
MYSQL_ROW
row
;
DBUG_ENTER
(
"ha_federated::read_next"
);
DBUG_ENTER
(
"ha_federated::read_next"
);
...
@@ -2867,7 +2865,7 @@ int ha_federated::connection_autocommit(bool state)
...
@@ -2867,7 +2865,7 @@ int ha_federated::connection_autocommit(bool state)
{
{
const
char
*
text
;
const
char
*
text
;
DBUG_ENTER
(
"ha_federated::connection_autocommit"
);
DBUG_ENTER
(
"ha_federated::connection_autocommit"
);
text
=
(
state
==
true
)
?
"SET AUTOCOMMIT=1"
:
"SET AUTOCOMMIT=0"
;
text
=
(
state
==
TRUE
)
?
"SET AUTOCOMMIT=1"
:
"SET AUTOCOMMIT=0"
;
DBUG_RETURN
(
execute_simple_query
(
text
,
16
));
DBUG_RETURN
(
execute_simple_query
(
text
,
16
));
}
}
...
...
storage/innobase/CMakeLists.txt
View file @
aa52207c
...
@@ -2,7 +2,12 @@
...
@@ -2,7 +2,12 @@
#SET(CMAKE_C_FLAGS_DEBUG "-DSAFEMALLOC -DSAFE_MUTEX")
#SET(CMAKE_C_FLAGS_DEBUG "-DSAFEMALLOC -DSAFE_MUTEX")
ADD_DEFINITIONS
(
-DMYSQL_SERVER -D_WIN32 -DWIN32 -D_LIB
)
ADD_DEFINITIONS
(
-DMYSQL_SERVER -D_WIN32 -DWIN32 -D_LIB
)
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/handler include
)
INCLUDE_DIRECTORIES
(
${
CMAKE_SOURCE_DIR
}
/include
${
CMAKE_SOURCE_DIR
}
/zlib
include
handler
${
CMAKE_SOURCE_DIR
}
/sql
${
CMAKE_SOURCE_DIR
}
/regex
${
CMAKE_SOURCE_DIR
}
/extra/yassl/include
)
ADD_LIBRARY
(
innobase btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
ADD_LIBRARY
(
innobase btr/btr0btr.c btr/btr0cur.c btr/btr0pcur.c btr/btr0sea.c
buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c
buf/buf0buf.c buf/buf0flu.c buf/buf0lru.c buf/buf0rea.c
data/data0data.c data/data0type.c
data/data0data.c data/data0type.c
...
...
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