Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
glom
Commits
ff12023f
Commit
ff12023f
authored
Apr 27, 2014
by
Murray Cumming
Browse files
Adapt to the libgda-6.0/libgdamm-6.0 API.
parent
fb29ab95
Changes
4
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
ff12023f
...
...
@@ -157,7 +157,7 @@ AS_IF([test "x$glom_enable_postgresql" = xyes],
# Libraries used by libglom:
REQUIRED_LIBGLOM_LIBS='giomm-2.4 >= 2.32.0 libxml++-2.6 >= 2.23.1 libxslt >= 1.1.10 pygobject-3.0 >= 2.29.0 libgdamm-
5
.0 >=
4
.99.
8
libgda-
5
.0 >= 5.2.1 libgda-postgres-
5
.0 libgda-postgres-
5
.0 libgda-mysql-
5
.0 libarchive >= 3.0'
REQUIRED_LIBGLOM_LIBS='giomm-2.4 >= 2.32.0 libxml++-2.6 >= 2.23.1 libxslt >= 1.1.10 pygobject-3.0 >= 2.29.0 libgdamm-
6
.0 >=
5
.99.
1
libgda-
6
.0 >= 5.2.1 libgda-postgres-
6
.0 libgda-postgres-
6
.0 libgda-mysql-
6
.0 libarchive >= 3.0'
AS_IF([test "x$glom_host_win32" != xyes],
[REQUIRED_LIBGLOM_LIBS="$REQUIRED_LIBGLOM_LIBS libepc-1.0 >= 0.4.0"])
...
...
@@ -175,7 +175,7 @@ AS_IF([test "x$glom_enable_client_only" != xyes],
[REQUIRED_GLOM_LIBS="$REQUIRED_GLOM_LIBS gtksourceviewmm-3.0 >= 3.0.0"])
AS_IF([test "x$glom_enable_sqlite" = xyes],
[REQUIRED_GLOM_LIBS="$REQUIRED_GLOM_LIBS libgda-sqlite-
5
.0"])
[REQUIRED_GLOM_LIBS="$REQUIRED_GLOM_LIBS libgda-sqlite-
6
.0"])
#TODO: Remove this check, because we checked again later anyway,
#because we add REQUIRED_LIBGLOM_LIBS to REQUIRED_GLOM_LIBS?
...
...
glom/libglom/connectionpool_backends/mysql.cc
View file @
ff12023f
...
...
@@ -182,7 +182,7 @@ bool MySQL::change_columns(const Glib::RefPtr<Gnome::Gda::Connection>& connectio
try
{
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
UNKNOWN
);
// TODO: What does the transaction isolation do?
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
SERVER_DEFAULT
);
// TODO: What does the transaction isolation do?
}
catch
(
const
Glib
::
Error
&
ex
)
{
...
...
glom/libglom/connectionpool_backends/postgres.cc
View file @
ff12023f
...
...
@@ -169,7 +169,7 @@ bool Postgres::change_columns(const Glib::RefPtr<Gnome::Gda::Connection>& connec
try
{
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
UNKNOWN
);
// TODO: What does the transaction isolation do?
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
SERVER_DEFAULT
);
// TODO: What does the transaction isolation do?
}
catch
(
const
Glib
::
Error
&
ex
)
{
...
...
glom/libglom/connectionpool_backends/sqlite.cc
View file @
ff12023f
...
...
@@ -331,7 +331,7 @@ bool Sqlite::recreate_table(const Glib::RefPtr<Gnome::Gda::Connection>& connecti
try
{
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
UNKNOWN
);
connection
->
begin_transaction
(
TRANSACTION_NAME
,
Gnome
::
Gda
::
TRANSACTION_ISOLATION_
SERVER_DEFAULT
);
}
catch
(
const
Glib
::
Error
&
ex
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment