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
42e36fea
Commit
42e36fea
authored
Nov 12, 2003
by
greg@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed minor compiler errors encountered during pre-final builds.
parent
82c0c6c4
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
sql/item_func.cc
sql/item_func.cc
+2
-2
sql/mysql_priv.h
sql/mysql_priv.h
+1
-1
sql/mysqld.cc
sql/mysqld.cc
+2
-2
strings/my_strtoll10.c
strings/my_strtoll10.c
+1
-1
No files found.
sql/item_func.cc
View file @
42e36fea
...
...
@@ -2743,7 +2743,7 @@ bool Item_func_match::fix_index()
{
Item_field
*
item
;
uint
ft_to_key
[
MAX_KEY
],
ft_cnt
[
MAX_KEY
],
fts
=
0
,
keynr
;
uint
max_cnt
=
0
,
mkeys
=
0
;
uint
max_cnt
=
0
,
mkeys
=
0
,
i
;
if
(
key
==
NO_SUCH_KEY
)
return
0
;
...
...
@@ -2762,7 +2762,7 @@ bool Item_func_match::fix_index()
if
(
!
fts
)
goto
err
;
for
(
uint
i
=
1
;
i
<
arg_count
;
i
++
)
for
(
i
=
1
;
i
<
arg_count
;
i
++
)
{
item
=
(
Item_field
*
)
args
[
i
];
for
(
keynr
=
0
;
keynr
<
fts
;
keynr
++
)
...
...
sql/mysql_priv.h
View file @
42e36fea
...
...
@@ -24,7 +24,7 @@
#include <signal.h>
#include <thr_lock.h>
#include <my_base.h>
/* Needed by field.h */
#include
<sql_bitmap.h>
#include
"sql_bitmap.h"
#ifdef __EMX__
#undef write
/* remove pthread.h macro definition for EMX */
...
...
sql/mysqld.cc
View file @
42e36fea
...
...
@@ -2796,7 +2796,7 @@ int main(int argc, char **argv)
but we started a bad tradition by calling it MySQL from the start
and we are now stuck with it.
*/
if
(
my_strcasecmp
(
argv
[
1
],
"mysql"
))
if
(
my_strcasecmp
(
system_charset_info
,
argv
[
1
],
"mysql"
))
load_default_groups
[
3
]
=
argv
[
1
];
start_mode
=
1
;
Service
.
Init
(
argv
[
1
],
mysql_service
);
...
...
@@ -2817,7 +2817,7 @@ int main(int argc, char **argv)
opt_argc
=
2
;
// Skip service-name
opt_argv
=
argv
;
start_mode
=
1
;
if
(
my_strcasecmp
(
argv
[
2
],
"mysql"
))
if
(
my_strcasecmp
(
system_charset_info
,
argv
[
2
],
"mysql"
))
load_default_groups
[
3
]
=
argv
[
2
];
Service
.
Init
(
argv
[
2
],
mysql_service
);
return
0
;
...
...
strings/my_strtoll10.c
View file @
42e36fea
...
...
@@ -19,7 +19,7 @@
#include <m_string.h>
#define ULONGLONG_MAX (~(ulonglong) 0)
#define MAX_NEGATIVE_NUMBER ((ulonglong)
0x8000000000000000LL
)
#define MAX_NEGATIVE_NUMBER ((ulonglong)
LL(0x8000000000000000)
)
#define INIT_CNT 9
#define LFACTOR LL(1000000000)
#define LFACTOR1 LL(10000000000)
...
...
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