Commit c55ac34f authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Some fixes for Gemini

parent 1ac9e1e6
...@@ -1008,8 +1008,7 @@ dnl echo "DBG_GEM1: gemini='$gemini'" ...@@ -1008,8 +1008,7 @@ dnl echo "DBG_GEM1: gemini='$gemini'"
gemini_libs="\ gemini_libs="\
../gemini/api/libapi.a\ ../gemini/api/libapi.a\
../gemini/db/libdb.a\ ../gemini/db/libdb.a\
../gemini/dbut/libdbut.a\ ../gemini/dbut/libdbut.a"
../gemini/vst/libvst.a"
AC_MSG_RESULT([Using Gemini DB]) AC_MSG_RESULT([Using Gemini DB])
;; ;;
esac esac
......
...@@ -199,6 +199,7 @@ sub new ...@@ -199,6 +199,7 @@ sub new
$main::opt_create_options =~ /type=gemini/i) $main::opt_create_options =~ /type=gemini/i)
{ {
$limits{'working_blobs'} = 0; # Blobs not implemented yet $limits{'working_blobs'} = 0; # Blobs not implemented yet
$limits{'max_tables'} = 500;
} }
return $self; return $self;
......
...@@ -4122,7 +4122,7 @@ ulonglong Field_blob::get_id(const char *from) ...@@ -4122,7 +4122,7 @@ ulonglong Field_blob::get_id(const char *from)
ulonglong id = 0; ulonglong id = 0;
ulong length=get_length(from); ulong length=get_length(from);
if (length) if (length)
uint8korr(id, from+packlength); id=uint8korr(from+packlength);
return id; return id;
} }
......
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