From fb3998c35197bea00b6b14fd55f36c679560819c Mon Sep 17 00:00:00 2001 From: Eugene Kosov Date: Fri, 5 Jul 2019 18:27:44 +0300 Subject: [PATCH] fix build --- storage/sphinx/ha_sphinx.cc | 2 +- storage/sphinx/ha_sphinx.h | 2 +- 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 );