1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604
|
2009-12-16 Dave Beckett <dave@dajobe.org>
* Snapshotted redland_1_0_10 for 1.0.10 release (SVN 15919)
* src/rdf_cache.c: (main): Free cache inside test loop
2009-12-15 Lauri Aalto <laalto@iki.fi>
* src/rdf_cache.c: Fixed rdf_cache_test deadlock with WITH_THREADS.
(librdf_free_cache_internal,librdf_cache_delete_internal): Pulled
functionality from librdf_free_cache(), librdf_cache_delete()
without mutex locking.
(librdf_new_cache): Call librdf_free_cache_internal() when already
holding a mutex lock.
(librdf_cache_cleanup): Call librdf_cache_delete_internal(), mutex
lock already held by librdf_cache_set_common().
* src/rdf_hash.c, src/rdf_init.c: (librdf_free_hash_datums): Do
not assume hash_datums mutex is initialized.
(main): Remove librdf_world_open() from minimum init-finish test
case.
Fixes issue http://bugs.librdf.org/mantis/view.php?id=317
2009-12-14 Dave Beckett <dave@dajobe.org>
* NEWS.html, RELEASE.html: 1.0.10 notes updated for issue 317 fix
* src/rdf_init.c: (main): Call librdf_world_open(world) to make
the test run when threads are enabled.
Fixes Issue#0000317 http://bugs.librdf.org/mantis/view.php?id=317
* src/rdf_storage_trees.c: (librdf_storage_trees_node_compare):
Check language and datatype URI when comparing literals.
Fixes Issue#000311 http://bugs.librdf.org/mantis/view.php?id=311
with patch from Gregory Williams - Thanks!
* src/rdf_storage_trees.c:
(librdf_storage_trees_remove_statement_internal): Return 0 on
success (always).
Fixes Issue#000304 http://bugs.librdf.org/mantis/view.php?id=304
2009-12-13 Dave Beckett <dave@dajobe.org>
* redland-config.in: Now a wrapper around pkg-config redland
* src/rdf_storage_postgresql.c: Casts for C++
* src/rdf_init.c: (librdf_basename): Casts for C++
* docs/tmpl/parser.sgml, docs/tmpl/serializer.sgml: Update docbook
tmpls
* build, build/shave-libtool.in, build/shave.in, build/shave.m4,
configure.ac: Enable SHAVE support for maintainer; move aux files
to build dir
* docs/redland-sections.txt: Add librdf_parser_check_name and
librdf_serializer_check_name
* src/rdf_storage_virtuoso.c: remove public autodocs from scanning
* configure.ac: Berkeley DB 4.8
* NEWS.html, RELEASE.html, configure.ac, src/win32_rdf_config.h:
Bump version to 1.0.10
* src/rdf_storage_virtuoso.c: Applied patch from 'lenrek' to "fix
seg fault on x86_64 machines" with virtuoso storage.
* src/rdf_query_rasqal.c: Use #ifdef
RASQAL_TRIPLES_SOURCE_MIN_VERSION and #ifdef
RASQAL_TRIPLES_SOURCE_FACTORY_MIN_VERSION from rasqal.h instead of
RASQAL_TRIPLE_SOURCES_HAVE_API_VERSION defined locally by redland
configure.
* configure.ac: No need to define
RASQAL_TRIPLE_SOURCES_HAVE_API_VERSION, can use other macros from
rasqal.h
2009-12-12 Dave Beckett <dave@dajobe.org>
* src/rdf_cache.c: (librdf_cache_set_common): Call memset with
address of buffer, not address of pointer to buffer.
* src/rdf_query_rasqal.c: Use
RASQAL_TRIPLE_SOURCES_HAVE_API_VERSION to set API version fields
when using rasqal 0.9.17+
* configure.ac: Define RASQAL_TRIPLE_SOURCES_HAVE_API_VERSION for
rasqal 0.9.17+
* autogen.sh: add space
2009-11-29 Lauri Aalto <laalto@iki.fi>
* autogen.sh: Reduce autogen noise on systems where uname is not
in /usr/bin
2009-11-17 Lauri Aalto <laalto@iki.fi>
* src/rdf_query_rasqal.c:
(rasqal_literal_get_rdf_term_type): Cannot use enum
(RASQAL_LITERAL_UDT) with preprocessor, use
RASQAL_LITERAL_UDT_DEFINED instead.
* src/rdf_query_rasqal.c:
(rasqal_literal_get_rdf_term_type): Changed return type from int
to rasqal_literal_type enum to prevent int-enum conversion
warnings.
2009-11-16 Dave Beckett <dave@dajobe.org>
* src/rdf_query_rasqal.c:
(rasqal_literal_get_rdf_term_type): Added when RASQAL_LITERAL_UDT
is not defined - rasqal is 0.9.16 or older.
(rasqal_literal_to_redland_node): Use above to replace
ever-growing if condition that is fragile when new literal types
are added.
2009-11-16 Lauri Aalto <laalto@iki.fi>
* src/rdf_query_rasqal.c:
(rasqal_literal_to_redland_node): Support RASQAL_LITERAL_UDT
user-defined datatype literals introduced in rasqal r15608.
2009-10-14 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_postgresql.c:
Replace deprecated PQescapeString with PQescapeStringConn that
takes a PGconn connection handle and when encoding takes into
consideration any connection properties such as character
encodings in force.
2009-10-10 Dave Beckett <dave@dajobe.org>
* utils/rdfproc.c:
CMD_PARSE: get the warning count from the warning_count_node, not
the (just freed) error_count_node
2009-09-07 Dave Beckett <dave@dajobe.org>
* docs/redland-docs.xml: Make this newer legal docbook
2009-08-30 Dave Beckett <dave@dajobe.org>
* src/rdf_query_rasqal.c: ws/indenting
2009-08-26 Dave Beckett <dave@dajobe.org>
* utils: props
2009-08-25 Dave Beckett <dave@dajobe.org>
* src/Makefile.am, src/rdf_query_virtuoso.c, src/rdf_storage.c,
src/rdf_storage_module.h, src/rdf_storage_virtuoso.c:
Remove virtuoso vsparql query part for now - should use some
rasqal parts that are not yet public
* utils/redland-virtuoso-test.c: cut the source down so it
compiles. body seems to have been repeated, possibly by multiple
rebasing of original patches
* src/Makefile.am: copyright years
* utils/redland-virtuoso-test.c:
Add redland-virtuoso-test.c
* src/rdf_query_virtuoso.c, src/rdf_storage_virtuoso.c,
src/rdf_storage_virtuoso_internal.h:
Also add new Virtuoso storage files also from
http://bugs.librdf.org/mantis/view.php?id=284
* configure.ac, docs/redland-chapter-storage-modules.xml,
src/Makefile.am, src/rdf_query_internal.h, src/rdf_storage.c,
src/rdf_storage_internal.h, src/rdf_storage_module.h,
utils/Makefile.am:
Applied raw Virtuoso storage patch from
http://bugs.librdf.org/mantis/view.php?id=284 - does not compile
at this commit due to use of rasqal internals that are no longer
available to librdf.
* autogen.sh: Update common autogen.sh
* configure.ac: Add -W to CPPFLAGS not CFLAGS, so they are not
used in link lines
* src/Makefile.am: typo $
* configure.ac: Put modular build libltdl includes and libs into
INTERNAL macros
* redland-src-config.in: update for moved includes to src dir
* utils/Makefile.am: Add rule for librdf.la
* redland-src-config.in: make redland-src-config work for external
raptor and rasqal again
2009-08-13 Lauri Aalto <laalto@iki.fi>
* src/Makefile.am, src/rdf_list.h: Install rdf_list.h header and
export its functions so that they can be used e.g. in external
storage modules.
2009-08-12 Dave Beckett <dave@dajobe.org>
* configure.ac, src/rdf_storage_sqlite.c, src/win32_rdf_config.h:
Change define SQLITE_API to REDLAND_SQLITE_API to allow redland to
compile with sqlite 3.6.17 or newer where the SQLITE_API macro is
defined. Thanks to Samuli Suominen for the report and fix.
2009-07-17 Dave Beckett <dave@dajobe.org>
* COPYING: Update GPL2 to latest version (white space changes)
used by rasqal, raptor
2009-06-06 Lauri Aalto <laalto@iki.fi>
* configure.ac: Default to environment LIBS, CPPFLAGS,
LDFLAGS. Addresses issue at
http://bugs.gentoo.org/show_bug.cgi?id=267405
2009-05-20 Dave Beckett <dave@dajobe.org>
* configure.ac: Remove libltdlc.la from
LIBRDF_PKGCONFIG_PRIVATE_LIBS which ends up in pkgconfig
Libs.private field
2009-05-01 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_file.c: Add storage option 'format' for uri and
file storages librdf_storage_file_instance gains format_name
field.
(librdf_storage_file_init): Validate the format values as legal
parser name and for file-storage, serializer name too. Log a
warning if the type given is wrong.
(librdf_storage_file_terminate): Free format_name
(librdf_storage_file_sync): Use format_name for serializer for
file storage.
* src/rdf_parser.c, src/rdf_serializer.c:
(librdf_parser_check_name, librdf_serializer_check_name): fix
strcmp.
* src/rdf_parser.c:
(librdf_parser_check_name): fix assert
* src/rdf_serializer.c:
(librdf_serializer_check_name): fix assert
* src/rdf_serializer.c, src/rdf_serializer.h:
(librdf_serializer_check_name): Added to check if a serializer
name is known.
* src/rdf_parser.c, src/rdf_parser.h:
(librdf_parser_check_name): Added to check if a parser name is
valid.
2009-04-28 Dave Robillard <dave@drobilla.net>
* src/Makefile.am: Make modular storage backends depend on librdf
library to avoid unresolved symbol errors when librdf itself is
dynamically loaded.
* autogen.sh: Don't lie about configure arguments.
2009-04-14 Lauri Aalto <laalto@iki.fi>
* src/rdf_storage.c:
(librdf_storage_register_factory): Clean up storage factory if
version check fails.
2009-04-13 Dave Beckett <dave@dajobe.org>
* src/rdf_storage.c:
(librdf_memstr): Removed, no longer used
(ltdl_module_callback): More constrained tests for what is a legal
storage module name especially with debugging, to prevent false
warnings during 'make check'.
* src/Makefile.am:
Set storage module test dir to $(abs_builddir)/.libs
* src/rdf_storage.c:
(ltdl_module_callback): Only attempt to load .so files when
debugging. This should aid false error messages when testing with
'make check' in the source tree
* ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog.6:
Add old changelogs
* src/rdf_storage_postgresql.c:
(librdf_storage_postgresql_init): Use res2 in PQresultErrorField()
call after setting it to the error code.
2009-04-12 Dave Beckett <dave@dajobe.org>
* Snapshotted redland_1_0_9 for 1.0.9 release (SVN 15143)
* INSTALL.html: Document --enable-debug
* configure.ac: Add --enable-debug to turn on LIBRDF_DEBUG without
the need for maintainer mode.
Removed unused STANDARD_CFLAGS subst.
* src/Makefile.am: Removed unused STANDARD_CFLAGS
* redland.pc.in: Add plugindir variable for the directory where
modules go
* Redland.i: Added librdf_parser_guess_name2() to SWIG API
* AUTHORS: Added Dave Robillard and Lauri Aalto
* INSTALL.html: Update to remove mention of raptor and rasqal
building inside.
* src/rdf_storage_sqlite.c:
(librdf_storage_sqlite_literal_helper): Init language_e_len to
prevent gcc warning about used when not initialised.
* docs/tmpl/iterator.sgml, docs/tmpl/parser.sgml,
docs/tmpl/stream.sgml: update sgml templates
* src/rdf_cache.c:
(librdf_cache_set_common): Initialise new_object to NULL and check
before freeing.
* src/rdf_storage_postgresql.c:
(librdf_storage_postgresql_init): Init res to NULL
* src/rdf_iterator.h, src/rdf_stream.h: autodocs
* docs/redland-sections.txt, docs/tmpl/parser.sgml,
docs/tmpl/storage.sgml: Update doc templates and sections
* docs/Makefile.am: Final filter build rule fix to make it works
with 'make distcheck'.
This took hours of tricky make and VPATH debugging - info recorded
in makefile comments.
2009-04-11 Dave Beckett <dave@dajobe.org>
* docs/Makefile.am: Adjust filter header rule to ensure it builds
* docs/Makefile.am: Make $(top_srcdir)/src/filtered_rdf_log.h rule
public
* src/rdf_storage.c, src/rdf_storage.h:
(librdf_storage_register_factory): Passes back an int status
value. Now checks for the interface version in the supported range
and fails if not. Added some more parameter validation.
* configure.ac, src/rdf_storage_module.h: Move
LIBRDF_STORAGE_INTERFACE_VERSION to a macro and define max an min
storage interface versions LIBRDF_STORAGE_MIN_INTERFACE_VERSION
and LIBRDF_STORAGE_MAX_INTERFACE_VERSION
* src/rdf_parser.c, src/rdf_parser.h:
(librdf_parser_guess_name2): Added with new librdf_world* world
argument.
(librdf_parser_guess_name): Restored, but deprecated and uses the
above to do the work. Makes existing librdf API the same as 1.0.8
in the absence of raptor V2 released.
* src/rdf_stream.h, src/rdf_stream_internal.h: Move
librdf_stream_get_method_flags public
* src/rdf_stream_internal.h: librdf_stream_get_method_flags added
for flags arg of stream get_method: aliases of iterator get_method
flags for the day that iterator and stream are merged.
* src/rdf_iterator.h: librdf_iterator_get_method_flags added for
flags arg of iterator get_method
* docs/tmpl/log.sgml, docs/tmpl/parser.sgml,
docs/tmpl/redland-unused.sgml, docs/tmpl/storage.sgml,
docs/tmpl/unused.sgml: Update sgml templates
2009-04-10 Dave Beckett <dave@dajobe.org>
* src/rdf_storage_mysql.c:
(librdf_storage_mysql_transaction_terminate): internal autodocs
* docs/redland-sections.txt: Remove internal macros from unused section
* src/rdf_cache.h: librdf_cache - autodoc
* src/rdf_storage_module.h: librdf_storage_instance - autodocs
* src/rdf_storage.c: (librdf_storage_set_instance,
librdf_storage_get_instance): autodocs
* docs/Makefile.am: Filter rdf_log.h before gtkdoc-scan gets there
* src/rdf_parser.h: autodocs - format librdf_parser_set_uri_filter
prototype so gtkdoc-scan can scan it
* src/rdf_log.c: (librdf_log): autodocs - document .../Varargs
* src/rdf_cache.c, src/rdf_storage.c: autodocs
* docs/redland-sections.txt: More docs
* docs/redland-sections.txt: update sections
* src/rdf_raptor.c, src/rdf_raptor.h, src/rdf_raptor_internal.h:
Convert to Unix LF
2009-04-07 Dave Beckett <dave@dajobe.org>
* examples/Makefile.am, utils/Makefile.am: Split linker libs and
flags between LDADD and AM_LDFLAGS
* examples/Makefile.am: Add rule to make librdf.la
* docs/tmpl/log.sgml, docs/tmpl/parser.sgml,
docs/tmpl/redland-unused.sgml: Update templates
* docs/Makefile.am: Fix DOC_SOURCE_DIR
* Makefile.am, configure.ac, docs/Makefile.am,
examples/Makefile.am, librdf, redland-src-config.in, src,
utils/Makefile.am: Renamed dir librdf/ to src/
2009-03-31 Dave Beckett <dave@dajobe.org>
* autogen.sh: Use LTDL_INIT in configure.ac to trigger --ltdl
* librdf/rdf_storage_postgresql.c: make postgresql storage
autodocs internal
* librdf/rdf_hash.c: librdf_hash_values_count autodocs
* librdf/rdf_storage_hashes.c: autodocs for
librdf_storage_hashes_close are internal
* librdf/rdf_storage_module.h: autodocs for storage factory types
* librdf/rdf_storage_file.c, librdf/rdf_storage_hashes.c,
librdf/rdf_storage_list.c, librdf/rdf_storage_mysql.c,
librdf/rdf_storage_postgresql.c, librdf/rdf_storage_sqlite.c,
librdf/rdf_storage_trees.c, librdf/rdf_storage_tstore.c:
Fix autodocs for storage module registration functions to make them
internal
* configure.ac, NEWS.html, librdf/win32_rdf_config.h: Bump version
to 1.0.9
* autogen.sh, configure.ac: libtool V2 only. Minimum 2.2.0
2009-03-30 Dave Beckett <dave@dajobe.org>
* docs/Makefile.am: (redland.3): Adjust sed to make NAME section
of generated manual more debian lintian friendly
* librdf/Makefile.am: Add rule to build
${top_build_prefix}libltdl/libltdlc.la and remove those to try to
build raptor and rasqal locally.
2009-03-29 Dave Beckett <dave@dajobe.org>
* INSTALL.html, configure.ac, librdf/Makefile.am,
librdf/rdf_digest_openssl.c: Removed openssl digest support - not
used much and an extra large dependency. MD5 and SHA1 remain
builtin.
* librdf/rdf_hash.c:
(librdf_free_hash_datum): Debug print at level 2 or more
* librdf/rdf_storage_postgresql.c: Applied fixes from
Issue#0000286 to fix "Numerous leaks, potential NULL pointer use,
and dropped postgresql errors and buffer overruns in the
postgresql storage module" Rebased from original patch around
about SVN r14170 to current head, applied recent changes and fixed
ISO C90 problems by moving declarations and assertions to start of
blocks.
Fixes Issue#0000286 http://bugs.librdf.org/mantis/view.php?id=286
* librdf/rdf_storage_postgresql.c:
(librdf_storage_postgresql_get_contexts): Fix allocation of N
bytes not N x size_t bytes using patch from bug:
Fixes Issue#0000285 http://bugs.librdf.org/mantis/view.php?id=285
May also fix issue 102 according to bug.
(librdf_storage_postgresql_free_gccontext_row): Removes unused
function. Unused because the memory the function frees belongs to a
PGresult struct and is freed when that struct is freed with the
appropriate postgresql API.
* librdf/rdf_statement.c:
(librdf_statement_encode_parts): Fix a buffer overrun error that
could occur with certain size buffers. A buffer size of 1 is sure
to write past the end of the buffer.
Patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/rdf_hash.c: Protect world->hash_datums_list with
hash_datums_mutex when threading.
Patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/rdf_init.c:
(librdf_free_world): Destroy hash_datums_mutex and others in
reverse order when threading.
(librdf_world_init_mutex): Init hash_datums_mutex.
Patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/rdf_init_internal.h: Add hash_datums_mutex for locking
hash_datums class when with threads.
Patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/rdf_log.h: librdf_log_level_func and librdf_log_func
functions gain REDLAND_CALLBACK_STDCALL before function pointer to
allow windows to adjust the calling convention for C#
compatibility.
Based on patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/librdf.h: Added REDLAND_CALLBACK_STDCALL macro to prefix
selected callback function pointer definitions. Enabled for
windows when USE_STDCALL_CALLBACKS is defined.
* librdf/rdf_uri.c: (librdf_new_uri): Clear key and value to all
zeros before use to make it easier to debug since not all fields
of the structure were used.
Patch from Lou Sakey 2008-07-31 to redland-dev
* librdf/win32_rdf_config.h: win32: Add STDCALL_CALLBACKS
Enable HAVE_PTHREADS
Disable mysql storage
Patch from Lou Sakey 2008-07-31 to redland-dev
* configure.ac: hello Berkeley DB 4.7
* utils/Makefile.am: Add fix-groff-xhtml to dist
* utils/Makefile.am, utils/fix-groff-xhtml (from
/raptor/trunk/fix-groff-xhtml:15041): Copy in fix-groff-xhtml from
raptor
* configure.ac: libtool ltdl config that seems to work for V1 and V2
2009-03-29 Dave Robillard <dave@drobilla.net>
* configure.ac, redland-src-config.in: Remove vestigial
--with-raptor=internal and --with-rasqal=internal configure
options.
2009-03-29 Dave Beckett <dave@dajobe.org>
* Makefile.am: Add $(subdirs) to SUBDIRS if e.g. libltdl needs building
* configure.ac: Use LT_INIT LTDL_INIT and LT_CONFIG_LTDL_DIR to
initialize libtool and libltdl
2009-03-29 Dave Robillard <dave@drobilla.net>
* librdf/rdf_init_internal.h, librdf/rdf_query_rasqal.c,
librdf/rdf_raptor.c, librdf/rdf_raptor.h: Compile against raptor
1.4.18.
2009-03-29 Dave Beckett <dave@dajobe.org>
* autogen.sh: Delete libltdl dir early and always so it'll never
be used by autogen.sh and will always be re-generated by
libtoolize when needed.
* configure.ac: revert libltdl/Makefile
* configure.ac: Generate libltdl/Makefile
2009-02-18 Lauri Aalto <laalto@iki.fi>
* librdf/rdf_storage_file.c, librdf/rdf_storage_hashes.c,
librdf/rdf_storage_list.c, librdf/rdf_storage_mysql.c,
librdf/rdf_storage_postgresql.c, librdf/rdf_storage_sqlite.c,
librdf/rdf_storage_trees.c, librdf/rdf_storage_tstore.c: Check for
failures in storage instance allocation.
2009-01-13 Lauri Aalto <laalto@iki.fi>
* librdf/rdf_storage_sqlite.c:
(librdf_storage_sqlite_literal_helper): Fixed whitespace in sql
expression.
* librdf/rdf_storage_sqlite.c: Do not write to the sqlite database
when just querying.
(librdf_storage_sqlite_uri_helper,
librdf_storage_sqlite_blank_helper,
librdf_storage_sqlite_literal_helper,
librdf_storage_sqlite_node_helper,
librdf_storage_sqlite_statement_helper,
librdf_storage_sqlite_statement_operator_helper): Take in an
add_new parameter to control whether to create new
uri/blank/literal ids.
(librdf_storage_sqlite_add_statements,
librdf_storage_sqlite_context_add_statement): add_new
(librdf_storage_sqlite_contains_statement): No add_new. Removed
FIXME note about the issue.
(librdf_storage_sqlite_find_statements): No add_new. Allow
negative node_ids in queries. (FIXME: should not exec queries that
are known to return nothing)
(librdf_storage_sqlite_context_remove_statement,
librdf_storage_sqlite_context_remove_statements,
librdf_storage_sqlite_context_serialise): No add_new.
|