Commit 6315a487 authored by Sinisa@sinisa.nasamreza.org's avatar Sinisa@sinisa.nasamreza.org

Merge sinisa@bk-internal.mysql.com:/home/bk/mysql-4.1

into sinisa.nasamreza.org:/mnt/work/mysql-4.1
parents 6f1342a6 fbf4299b
...@@ -19,10 +19,10 @@ ...@@ -19,10 +19,10 @@
with gcc 3.0.x to avoid including libstdc++ with gcc 3.0.x to avoid including libstdc++
*/ */
#include "mysys_priv.h"
#ifdef USE_MYSYS_NEW #ifdef USE_MYSYS_NEW
#include "mysys_priv.h"
void *operator new (size_t sz) void *operator new (size_t sz)
{ {
return (void *) malloc (sz ? sz : 1); return (void *) malloc (sz ? sz : 1);
......
...@@ -70,6 +70,8 @@ ...@@ -70,6 +70,8 @@
tonu@mysql.com & monty@mysql.com tonu@mysql.com & monty@mysql.com
*/ */
#if defined(USE_RAID) && !defined(MYSQL_CLIENT)
#ifdef __GNUC__ #ifdef __GNUC__
#pragma implementation // gcc: Class implementation #pragma implementation // gcc: Class implementation
#endif #endif
...@@ -79,8 +81,6 @@ ...@@ -79,8 +81,6 @@
#include <m_string.h> #include <m_string.h>
#include <assert.h> #include <assert.h>
#if defined(USE_RAID) && !defined(MYSQL_CLIENT)
#define RAID_SEEK_DONE ~(off_t) 0 #define RAID_SEEK_DONE ~(off_t) 0
#define RAID_SIZE_UNKNOWN ~(my_off_t) 0 #define RAID_SIZE_UNKNOWN ~(my_off_t) 0
......
...@@ -1652,7 +1652,7 @@ void Item_func_elt::fix_length_and_dec() ...@@ -1652,7 +1652,7 @@ void Item_func_elt::fix_length_and_dec()
if (agg_arg_collations(collation, args+1, arg_count-1)) if (agg_arg_collations(collation, args+1, arg_count-1))
return; return;
for (uint i=1 ; i < arg_count ; i++) for (uint i= 1 ; i < arg_count ; i++)
{ {
set_if_bigger(max_length,args[i]->max_length); set_if_bigger(max_length,args[i]->max_length);
set_if_bigger(decimals,args[i]->decimals); set_if_bigger(decimals,args[i]->decimals);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment