summaryrefslogtreecommitdiff
path: root/storage/sphinx
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-07-05 18:27:44 +0300
committerEugene Kosov <claprix@yandex.ru>2019-07-05 18:27:44 +0300
commitfb3998c35197bea00b6b14fd55f36c679560819c (patch)
tree0be1f97b87fdcfe87f6a2e1975622e93196ed33b /storage/sphinx
parentc6dff51276b4c0a1c14df32c5d96ab65c846baa6 (diff)
downloadmariadb-git-fb3998c35197bea00b6b14fd55f36c679560819c.tar.gz
fix build
Diffstat (limited to 'storage/sphinx')
-rw-r--r--storage/sphinx/ha_sphinx.cc2
-rw-r--r--storage/sphinx/ha_sphinx.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/storage/sphinx/ha_sphinx.cc b/storage/sphinx/ha_sphinx.cc
index 86332a741c6..d720f016408 100644
--- a/storage/sphinx/ha_sphinx.cc
+++ b/storage/sphinx/ha_sphinx.cc
@@ -2317,7 +2317,7 @@ int ha_sphinx::extra ( enum ha_extra_function op )
}
-int ha_sphinx::write_row ( byte * )
+int ha_sphinx::write_row ( const byte * )
{
SPH_ENTER_METHOD();
if ( !m_pShare || !m_pShare->m_bSphinxQL )
diff --git a/storage/sphinx/ha_sphinx.h b/storage/sphinx/ha_sphinx.h
index 8e6af908aab..decd88bad5a 100644
--- a/storage/sphinx/ha_sphinx.h
+++ b/storage/sphinx/ha_sphinx.h
@@ -85,7 +85,7 @@ public:
int open ( const char * name, int mode, uint test_if_locked );
int close ();
- int write_row ( byte * buf );
+ int write_row ( const byte * buf );
int update_row ( const byte * old_data, const byte * new_data );
int delete_row ( const byte * buf );
int extra ( enum ha_extra_function op );