[Groonga-commit] groonga/groonga at f6a27fa [master] doc: add API/ABI incompatible change

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Mar 27 15:27:57 JST 2015


Kouhei Sutou	2015-03-27 15:27:57 +0900 (Fri, 27 Mar 2015)

  New Revision: f6a27fa8e0e9984f40e955b8cecc5868dad16ed8
  https://github.com/groonga/groonga/commit/f6a27fa8e0e9984f40e955b8cecc5868dad16ed8

  Message:
    doc: add API/ABI incompatible change

  Modified files:
    doc/source/news.rst

  Modified: doc/source/news.rst (+17 -0)
===================================================================
--- doc/source/news.rst    2015-03-27 14:55:50 +0900 (88c4fba)
+++ doc/source/news.rst    2015-03-27 15:27:57 +0900 (23cb08b)
@@ -45,6 +45,23 @@ Improvements
 * ??? Supported sort by index value.
 * Supported to customize score function. See :doc:`/reference/scorer`
   for details.
+* [incompatible] Custom score function feature introduced API and ABI
+  incompatibilities in DB API layer. If you're using
+  :c:type:`grn_search_optarg`, please check that your code initializes
+  your :c:type:`grn_search_optarg` by ``0`` like the following:
+
+  .. code-block:: c
+
+     grn_search_optarg options;
+     memset(&options, 0, sizeof(grn_search_optarg));
+
+  If your code do the above thing, your code is API compatible and ABI
+  incompatible. You just need to rebuild your code without
+  modification.
+
+  If your code doesn't the above thing, you need to added the above
+  thing to your code.
+
 * Added the following predicates that check :c:type:`grn_obj` type to
   DB API:
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index