<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - VIEWING: External database jdbc hsqldb, Crash in the case of SELECT, SQL query, access to the database. Crash in: sal3.dll"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=124773">124773</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>VIEWING: External database jdbc hsqldb, Crash in the case of SELECT, SQL query, access to the database. Crash in: sal3.dll
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.2.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>christo123@poczta.onet.pl
</td>
</tr></table>
<p>
<div>
<pre>This bug was filed from the crash reporting server and is
<a href="https://crashreport.libreoffice.org/stats/crash_details/67822be4-36b6-4971-9387-6f7e8995f3db">br-67822be4-36b6-4971-9387-6f7e8995f3db</a>.
=========================================
I'm creating a new, clean external database (HSQLDB version 2.4.1).
Connecting database JDBC:
URL Jdbc: hsqldb:hsql://localhost/xGR
Class Driver: org.hsqldb.jdbcDriver
Login SA.
I enter SQL queries:
CREATE ROLE "normal_user";
CREATE USER "U1" PASSWORD "12345";
CREATE CACHED TABLE "Test2" ("ID" INTEGER GENERATED BY DEFAULT AS IDENTITY
(START WITH 0) NOT NULL PRIMARY KEY, "name" VARCHAR (100) NOT NULL,
"addDateTime" TIMESTAMP DEFAULT CURRENT_TIMESTAMP NOT NULL, "updateDateTime"
TIMESTAMP NULL);
CREATE TRIGGER PUBLIC. "Test2_TRG" BEFORE UPDATE ON PUBLIC. "Test2" REFERENCING
OLD ROW AS OLDROW NEW ROW AS NEWROW FOR EACH ROW SET NEWROW. "updateDateTime" =
CURRENT_TIMESTAMP;
GRANT SELECT (ID, "name"), UPDATE (ID, "name"), INSERT (ID, "name") ON TABLE
"Test2" TO "normal_user";
GRANT "normal_user" TO "U1";
The commands were completed successfully.
We login in as U1, open the "Test2" table. Total crash Libreoffice.
Normal operation should give an exception.
"user lacks privilege or object not found: Test2 in statement [SELECT * FROM
"Test2"] "
Greetings</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>