<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Editing - sqlite3 tables read only even when defined with primary key using Xerial jdbc driver"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=93094#c26">Comment # 26</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Editing - sqlite3 tables read only even when defined with primary key using Xerial jdbc driver"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=93094">bug 93094</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>On pc Debian x86-64 with master sources updated yesterday +
sqlite-jdbc-3.21.0.jar (2017-11-14), I don't reproduce this because I got the
message:
SQLite JDBC: inconsistent internal state.

On console, I got this:
java.lang.IllegalStateException: SQLite JDBC: inconsistent internal state
        at org.sqlite.core.CoreResultSet.checkCol(CoreResultSet.java:81)
        at
org.sqlite.jdbc3.JDBC3ResultSet.getColumnName(JDBC3ResultSet.java:721)

BTW, I created an sqlite 3 db with just salespeople table.
Notice: I did first an sqlite < 3 by using "sqlite" instead of "sqlite3", I got
a crash.
0x00007fffed875b7c in std::type_info::name (this=0x0) at
/usr/include/c++/7/typeinfo:100
100         { return __name[0] == '*' ? __name + 1 : __name; }
(gdb) bt
#0  0x00007fffed875b7c in std::type_info::name() const (this=0x0) at
/usr/include/c++/7/typeinfo:100
#1  0x00007fffed8757d9 in DbgUnhandledException(com::sun::star::uno::Any
const&, char const*, char const*, char const*) (caught=
  uno::Any("com.sun.star.sdbc.SQLException": {<com::sun::star::uno::Exception>
= {Message = "[SQLITE_NOTADB]  File opened that is not a database file (file is
not a database)", Context = uno::Reference to (com::sun::star::uno::XInterface
*) 0x5555583969b8}, SQLState = "", ErrorCode = 26, NextException =
uno::Any(void)}), currentFunction=0x7fffca16d760
<dbaccess::OFilteredContainer::construct(com::sun::star::uno::Sequence<rtl::OUString>
const&, com::sun::star::uno::Sequence<rtl::OUString>
const&)::__PRETTY_FUNCTION__> "void
dbaccess::OFilteredContainer::construct(const
com::sun::star::uno::Sequence<rtl::OUString>&, const
com::sun::star::uno::Sequence<rtl::OUString>&)", fileAndLineNo=0x7fffca16b528
"/home/julien/lo/libreoffice/dbaccess/source/core/api/FilteredContainer.cxx:380:
", explanatory=0x0) at
/home/julien/lo/libreoffice/tools/source/debug/debug.cxx:101
#2  0x00007fffc9f398b3 in
dbaccess::OFilteredContainer::construct(com::sun::star::uno::Sequence<rtl::OUString>
const&, com::sun::star::uno::Sequence<rtl::OUString> const&)
(this=0x555558403210, _rTableFilter=uno::Sequence of length 1 = {...},
_rTableTypeFilter=empty uno::Sequence)
    at
/home/julien/lo/libreoffice/dbaccess/source/core/api/FilteredContainer.cxx:380

but that's another story.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>