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
8d3036c3
Commit
8d3036c3
authored
Sep 23, 2005
by
jani@a193-229-222-105.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some minor fixes revealed as warnings by
Intel compiler.
parent
acf218b7
Changes
27
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
28 additions
and
25 deletions
+28
-25
client/mysqltest.c
client/mysqltest.c
+1
-1
server-tools/instance-manager/buffer.cc
server-tools/instance-manager/buffer.cc
+1
-1
server-tools/instance-manager/buffer.h
server-tools/instance-manager/buffer.h
+1
-1
server-tools/instance-manager/command.cc
server-tools/instance-manager/command.cc
+1
-1
server-tools/instance-manager/command.h
server-tools/instance-manager/command.h
+1
-1
server-tools/instance-manager/guardian.cc
server-tools/instance-manager/guardian.cc
+1
-1
server-tools/instance-manager/guardian.h
server-tools/instance-manager/guardian.h
+1
-1
server-tools/instance-manager/instance.cc
server-tools/instance-manager/instance.cc
+1
-1
server-tools/instance-manager/instance.h
server-tools/instance-manager/instance.h
+1
-1
server-tools/instance-manager/instance_map.cc
server-tools/instance-manager/instance_map.cc
+1
-1
server-tools/instance-manager/instance_map.h
server-tools/instance-manager/instance_map.h
+1
-1
server-tools/instance-manager/instance_options.cc
server-tools/instance-manager/instance_options.cc
+1
-1
server-tools/instance-manager/instance_options.h
server-tools/instance-manager/instance_options.h
+1
-1
server-tools/instance-manager/listener.cc
server-tools/instance-manager/listener.cc
+1
-1
server-tools/instance-manager/listener.h
server-tools/instance-manager/listener.h
+1
-1
server-tools/instance-manager/mysql_connection.cc
server-tools/instance-manager/mysql_connection.cc
+1
-1
server-tools/instance-manager/mysql_connection.h
server-tools/instance-manager/mysql_connection.h
+1
-1
server-tools/instance-manager/options.cc
server-tools/instance-manager/options.cc
+1
-1
server-tools/instance-manager/options.h
server-tools/instance-manager/options.h
+1
-1
server-tools/instance-manager/parse_output.cc
server-tools/instance-manager/parse_output.cc
+0
-1
server-tools/instance-manager/thread_registry.cc
server-tools/instance-manager/thread_registry.cc
+1
-1
server-tools/instance-manager/thread_registry.h
server-tools/instance-manager/thread_registry.h
+1
-1
server-tools/instance-manager/user_map.cc
server-tools/instance-manager/user_map.cc
+1
-1
server-tools/instance-manager/user_map.h
server-tools/instance-manager/user_map.h
+1
-1
sql/field.cc
sql/field.cc
+1
-1
sql/item.h
sql/item.h
+3
-0
sql/item_sum.cc
sql/item_sum.cc
+1
-0
No files found.
client/mysqltest.c
View file @
8d3036c3
...
...
@@ -549,7 +549,7 @@ static void close_cons()
static
void
close_files
()
{
DBUG_ENTER
(
"close_files"
);
for
(;
cur_file
!=
(
file_stack
-
1
)
;
cur_file
--
)
for
(;
cur_file
>=
file_stack
;
cur_file
--
)
{
DBUG_PRINT
(
"info"
,
(
"file_name: %s"
,
cur_file
->
file_name
));
if
(
cur_file
->
file
&&
cur_file
->
file
!=
stdin
)
...
...
server-tools/instance-manager/buffer.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/buffer.h
View file @
8d3036c3
...
...
@@ -19,7 +19,7 @@
#include <my_global.h>
#include <my_sys.h>
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/command.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/command.h
View file @
8d3036c3
...
...
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/guardian.cc
View file @
8d3036c3
...
...
@@ -15,7 +15,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/guardian.h
View file @
8d3036c3
...
...
@@ -22,7 +22,7 @@
#include <my_sys.h>
#include <my_list.h>
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/instance.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/instance.h
View file @
8d3036c3
...
...
@@ -19,7 +19,7 @@
#include <my_global.h>
#include "instance_options.h"
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/instance_map.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/instance_map.h
View file @
8d3036c3
...
...
@@ -24,7 +24,7 @@
#include <my_sys.h>
#include <hash.h>
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/instance_options.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/instance_options.h
View file @
8d3036c3
...
...
@@ -21,7 +21,7 @@
#include "parse.h"
#include "portability.h"
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/listener.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/listener.h
View file @
8d3036c3
...
...
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/mysql_connection.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma interface
#endif
...
...
server-tools/instance-manager/mysql_connection.h
View file @
8d3036c3
...
...
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/options.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/options.h
View file @
8d3036c3
...
...
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/parse_output.cc
View file @
8d3036c3
...
...
@@ -107,7 +107,6 @@ int parse_output_and_get_value(const char *command, const char *word,
}
}
pclose:
/* we are not interested in the termination status */
pclose
(
output
);
...
...
server-tools/instance-manager/thread_registry.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma implementation
#endif
...
...
server-tools/instance-manager/thread_registry.h
View file @
8d3036c3
...
...
@@ -50,7 +50,7 @@
in manner, similar to ``quit'' signals.
*/
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
server-tools/instance-manager/user_map.cc
View file @
8d3036c3
...
...
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_IMPLEMENTATION)
#pragma interface
#endif
...
...
server-tools/instance-manager/user_map.h
View file @
8d3036c3
...
...
@@ -16,7 +16,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#if
def __GNUC__
#if
defined(__GNUC__) && defined(USE_PRAGMA_INTERFACE)
#pragma interface
#endif
...
...
sql/field.cc
View file @
8d3036c3
...
...
@@ -3438,7 +3438,7 @@ int Field_long::store(longlong nr, bool unsigned_val)
else
{
if
(
nr
<
0
&&
unsigned_val
)
nr
=
INT_MAX32
+
1
;
// Generate overflow
nr
=
((
longlong
)
INT_MAX32
)
+
1
;
// Generate overflow
if
(
nr
<
(
longlong
)
INT_MIN32
)
{
res
=
(
int32
)
INT_MIN32
;
...
...
sql/item.h
View file @
8d3036c3
...
...
@@ -164,6 +164,7 @@ struct Hybrid_type_traits
virtual
my_decimal
*
val_decimal
(
Hybrid_type
*
val
,
my_decimal
*
buf
)
const
;
virtual
String
*
val_str
(
Hybrid_type
*
val
,
String
*
buf
,
uint8
decimals
)
const
;
static
const
Hybrid_type_traits
*
instance
();
Hybrid_type_traits
()
{};
};
...
...
@@ -185,6 +186,7 @@ struct Hybrid_type_traits_decimal: public Hybrid_type_traits
{
return
&
val
->
dec_buf
[
val
->
used_dec_buf_no
];
}
virtual
String
*
val_str
(
Hybrid_type
*
val
,
String
*
buf
,
uint8
decimals
)
const
;
static
const
Hybrid_type_traits_decimal
*
instance
();
Hybrid_type_traits_decimal
()
{};
};
...
...
@@ -215,6 +217,7 @@ struct Hybrid_type_traits_integer: public Hybrid_type_traits
virtual
String
*
val_str
(
Hybrid_type
*
val
,
String
*
buf
,
uint8
decimals
)
const
{
buf
->
set
(
val
->
integer
,
&
my_charset_bin
);
return
buf
;}
static
const
Hybrid_type_traits_integer
*
instance
();
Hybrid_type_traits_integer
()
{};
};
...
...
sql/item_sum.cc
View file @
8d3036c3
...
...
@@ -545,6 +545,7 @@ struct Hybrid_type_traits_fast_decimal: public
val
->
traits
->
div
(
val
,
u
);
}
static
const
Hybrid_type_traits_fast_decimal
*
instance
();
Hybrid_type_traits_fast_decimal
()
{};
};
static
const
Hybrid_type_traits_fast_decimal
fast_decimal_traits_instance
;
...
...
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