• Michael Widenius's avatar
    Fixed some compiler warnings found when compiling for windows. · d7f1b1c7
    Michael Widenius authored
    Changed rows_read and rows_sent status variables to be longlong (to avoid compiler warnings)
    
    
    sql/item_func.cc:
      Fixed wrong usage of alias
    sql/item_subselect.cc:
      Changed buffer size to ulonglong to be able detect buffers bigger than size_t
    sql/item_subselect.h:
      Changed buffer size to ulonglong to be able detect buffers bigger than size_t
    sql/multi_range_read.cc:
      Fixed compiler warning by using correct type for function argument
    sql/mysqld.cc:
      Changed rows_read and rows_sent status variables to be longlong
    sql/opt_subselect.h:
      Fixed compiler warning by using correct type for function argument
    sql/sql_class.cc:
      Changed rows_read and rows_sent status variables to be longlong
    sql/sql_class.h:
      Changed rows_read and rows_sent status variables to be longlong
      Changed max_nulls_in_row to uint as this is number of columns in row.
      This fixed some compiler warnings.
    sql/sql_select.cc:
      Added casts to avoid compiler warnings
    storage/heap/ha_heap.cc:
      Initilize different types separate
    storage/oqgraph/ha_oqgraph.cc:
      Fixed argument to store(longlong) to avoid compiler warnings
    d7f1b1c7
ha_oqgraph.cc 25.9 KB