• Sergei Golubchik's avatar
    Added support for NO_RECORD record format (don't store any row data) for Aria. · 60c791d9
    Sergei Golubchik authored
    This makes the keys smaller (no row pointer) and gives us proper errors if we
    use the table wrongly.
    
    sql/sql_select.cc:
      Use NO_RECORD for tables that doesn't need row data.
    storage/maria/Makefile.am:
      Added ma_norec.c
    storage/maria/ma_check.c:
      Added support for NO_RECORD record format (don't store any row data)
    storage/maria/ma_norec.c:
      Added support for NO_RECORD record format
    storage/maria/ma_open.c:
      Added support for NO_RECORD record format
    storage/maria/ma_search.c:
      Added support for 0 size row pointers (used with NO_RECORD)
    storage/maria/ma_test1.c:
      Added testing of NO_RECORD record format.
    storage/maria/maria_chk.c:
      Added support for NO_RECORD
    storage/maria/maria_def.h:
      Added support for NO_RECORD
    storage/maria/unittest/ma_test_all-t:
      Added testing of NO_RECORD record format
    60c791d9
maria_chk.c 70.3 KB