Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OBITools3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
54cfeffd
Commit
54cfeffd
authored
Nov 10, 2016
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Goes with
8f724f4f
, forgotten file
parent
a0ebc2d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
src/obidmscolumn_seq.c
src/obidmscolumn_seq.c
+1
-7
No files found.
src/obidmscolumn_seq.c
View file @
54cfeffd
...
...
@@ -27,7 +27,6 @@
int
obi_column_set_obiseq_with_elt_idx
(
OBIDMS_column_p
column
,
index_t
line_nb
,
index_t
element_idx
,
const
char
*
value
)
{
index_t
idx
;
char
*
new_indexer_name
;
if
(
obi_column_prepare_to_set_value
(
column
,
line_nb
)
<
0
)
return
-
1
;
...
...
@@ -44,14 +43,9 @@ int obi_column_set_obiseq_with_elt_idx(OBIDMS_column_p column, index_t line_nb,
{
if
(
obi_errno
==
OBI_READ_ONLY_INDEXER_ERROR
)
{
// TODO PUT IN A COLUMN FUNCTION
// If the error is that the indexer is read-only, clone it
new_indexer_name
=
obi_build_indexer_name
((
column
->
header
)
->
name
,
(
column
->
header
)
->
version
);
if
(
new_indexer_name
==
NULL
)
if
(
obi_clone_column_indexer
(
column
)
<
0
)
return
-
1
;
column
->
indexer
=
obi_clone_indexer
(
column
->
indexer
,
new_indexer_name
);
// TODO Need to lock this somehow?
strcpy
((
column
->
header
)
->
indexer_name
,
new_indexer_name
);
free
(
new_indexer_name
);
obi_set_errno
(
0
);
// Add the value in the new indexer
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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